Skip to content

Commit

Permalink
Merge pull request #968 from LXIF/patch-1
Browse files Browse the repository at this point in the history
Update subscriber.did with correct types
  • Loading branch information
letmejustputthishere authored Sep 5, 2024
2 parents 6f737af + 8d1a6a1 commit 9a0e33e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/pub-sub/src/subscriber/src/subscriber.did
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
type Counter = variant {
type Counter = record {
topic : text;
value:nat64;
};
type Subscriber = variant {
type Subscriber = record {
topic:text;
};
service : {
"setup_subscribe": (publisher_id:principal,topic:text) -> ();
"update_count": (counter : Counter) -> ();
"get_count": () -> (nat64);
}
}

0 comments on commit 9a0e33e

Please sign in to comment.