Automate (re)-publication. Closes #33.

This commit is contained in:
Tim Bruijnzeels
2019-06-05 17:15:27 +02:00
parent 448c7357f0
commit 16ce1db2ec
20 changed files with 188 additions and 91 deletions
+2 -2
View File
@@ -178,9 +178,9 @@ impl Publisher {
impl Publisher {
fn create(event: PublisherInit) -> Self {
let (id, _version, init) = event.unwrap();
let (handle, _version, init) = event.unwrap();
Publisher {
handle: Handle::from(id),
handle,
version: 1,
deactivated: false,
token: init.token,