Skip to content

Commit 9a0e33e

Browse files
Merge pull request #968 from LXIF/patch-1
Update subscriber.did with correct types
2 parents 6f737af + 8d1a6a1 commit 9a0e33e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
type Counter = variant {
1+
type Counter = record {
22
topic : text;
33
value:nat64;
44
};
5-
type Subscriber = variant {
5+
type Subscriber = record {
66
topic:text;
77
};
88
service : {
99
"setup_subscribe": (publisher_id:principal,topic:text) -> ();
1010
"update_count": (counter : Counter) -> ();
1111
"get_count": () -> (nat64);
12-
}
12+
}

0 commit comments

Comments
 (0)