From 9ea604a29cb361f6cb13e2d7e99f521affdec15d Mon Sep 17 00:00:00 2001 From: Moshe Revah Date: Wed, 1 Jul 2020 21:34:15 +0300 Subject: [PATCH] Fix canister call example in Quick start The default for `--type` is `idl` which is incompatible with the example which tries to pass a string --- modules/quickstart/pages/quickstart.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/quickstart/pages/quickstart.adoc b/modules/quickstart/pages/quickstart.adoc index 8029977f4..3d5a93a3e 100644 --- a/modules/quickstart/pages/quickstart.adoc +++ b/modules/quickstart/pages/quickstart.adoc @@ -221,10 +221,10 @@ Installing code for canister hello_assets, with canister_id ic:04000000000000000 + [source,bash] ---- -dfx canister call hello greet everyone +dfx canister call hello greet --type string everyone ---- + -This example uses the `+dfx canister call+` command to pass "everyone" as an argument to the `+greet+` function. +This example uses the `+dfx canister call+` command to pass "everyone" as a string argument to the `+greet+` function. . Verify the command displays the return value of the `+greet+` function. + For example: