Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jul 2, 2024
1 parent 892eca8 commit 255b6a4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import { IDL, init, Principal, query } from 'azle';
let myMessage = '';

export const MyCanister = IDL.Rec();
MyCanister.fill(IDL.Service({ myQuery: IDL.Func([MyCanister], [MyCanister]) }));
MyCanister.fill(
IDL.Service({
myQuery: IDL.Func([MyCanister], [MyCanister], ['query']),
getMessage: IDL.Func([], [IDL.Text], ['query'])
})
);
export type MyCanister = Principal;

export default class {
Expand Down

0 comments on commit 255b6a4

Please sign in to comment.