Skip to content

Commit

Permalink
fix http_counter func
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Sep 22, 2023
1 parent 2bb6477 commit bcc6f18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/motoko_examples/http_counter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ export default class extends Service {
body: encode('Counter'),
streaming_strategy: Some({
Callback: {
callback: [ic.id(), 'http_streaming'],
callback: new Callback(
ic.id(),
'http_streaming'
),
token: {
arbitrary_data: 'start'
}
Expand Down

0 comments on commit bcc6f18

Please sign in to comment.