Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Sep 15, 2023
1 parent 213aa57 commit 2177d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/composite_queries/canisters/canister1/index.ts
Original file line number Diff line number Diff line change
@@ -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(
Expand All @@ -12,6 +11,7 @@ class Canister1 extends Service {

counter: nat = 0n;

// Composite query calling a query
@query([], text)
async simpleCompositeQuery(): Promise<text> {
return await ic.call(this.canister2.simpleQuery);
Expand Down
2 changes: 1 addition & 1 deletion examples/outgoing_http_requests/src/index.did
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 2177d4f

Please sign in to comment.