Skip to content

Commit d79fb31

Browse files
fix(frontend): query calls to kong_backend token and swap_amount
1 parent c13dd14 commit d79fb31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frontend/src/lib/canisters/kong_backend.canister.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class KongBackendCanister extends Canister<KongBackendService> {
3636
sourceAmount
3737
}: KongSwapAmountsParams): Promise<SwapAmountsReply> => {
3838
const { swap_amounts } = this.caller({
39-
certified: true
39+
certified: false
4040
});
4141

4242
const response = await swap_amounts(sourceToken.symbol, sourceAmount, destinationToken.symbol);
@@ -82,7 +82,7 @@ export class KongBackendCanister extends Canister<KongBackendService> {
8282

8383
tokens = async (): Promise<TokenReply[]> => {
8484
const { tokens } = this.caller({
85-
certified: true
85+
certified: false
8686
});
8787

8888
const response = await tokens(toNullable());

0 commit comments

Comments
 (0)