From bcc6f18c2fde6105fa9d70ea9c8f301afd72cee8 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 22 Sep 2023 14:28:27 -0600 Subject: [PATCH] fix http_counter func --- examples/motoko_examples/http_counter/src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/motoko_examples/http_counter/src/index.ts b/examples/motoko_examples/http_counter/src/index.ts index 5ed99bdcca..9a89fb1296 100644 --- a/examples/motoko_examples/http_counter/src/index.ts +++ b/examples/motoko_examples/http_counter/src/index.ts @@ -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' }