diff --git a/examples/composite_queries/canisters/canister1/index.ts b/examples/composite_queries/canisters/canister1/index.ts index 6f30a65fdd..ff07b129a5 100644 --- a/examples/composite_queries/canisters/canister1/index.ts +++ b/examples/composite_queries/canisters/canister1/index.ts @@ -1,7 +1,6 @@ import { ic, Manual, nat, Principal, query, Service, text, update } from 'azle'; import Canister2 from '../canister2'; -// Composite query calling a query class Canister1 extends Service { canister2 = new Canister2( Principal.fromText( @@ -12,6 +11,7 @@ class Canister1 extends Service { counter: nat = 0n; + // Composite query calling a query @query([], text) async simpleCompositeQuery(): Promise { return await ic.call(this.canister2.simpleQuery); diff --git a/examples/outgoing_http_requests/src/index.did b/examples/outgoing_http_requests/src/index.did index 2d53401202..9447f44407 100644 --- a/examples/outgoing_http_requests/src/index.did +++ b/examples/outgoing_http_requests/src/index.did @@ -9,6 +9,6 @@ type rec_8 = record {value:text; name:text}; type rec_7 = record {status:nat; body:vec nat8; headers:vec rec_8}; service: () -> { xkcd: () -> (rec_0); - xkcdRaw: () -> (rec_2) query; + xkcdRaw: () -> (rec_2); xkcdTransform: (rec_4) -> (rec_7) query; }