diff --git a/docs/tutorials/developer-journey/level-2/2.4-intro-candid.mdx b/docs/tutorials/developer-journey/level-2/2.4-intro-candid.mdx index 1903840719..22555f111d 100644 --- a/docs/tutorials/developer-journey/level-2/2.4-intro-candid.mdx +++ b/docs/tutorials/developer-journey/level-2/2.4-intro-candid.mdx @@ -193,8 +193,8 @@ This service might be upgraded in the following manner: type timestamp = nat; // Define a new type of 'timestamp' service counter : { set : (nat) -> (); // Define a new method - add : (int) -> (new_val : nat); // Change the parameter result types - subtract : (nat, trap_on_underflow : opt bool) -> (new_val : nat); // Change the parameter result types + add : (int) -> (new_val : nat); // Change the parameter and result types + subtract : (nat, trap_on_underflow : opt bool) -> (new_val : nat); // Change the parameter and result types get : () -> (nat, last_change : timestamp) query; // Change the result types } ``` @@ -357,7 +357,7 @@ In this output, you can see the URL for the Candid interface under 'Backend cani ![Candid UI 1](../_attachments/candid_ui-1.png) -Let's use the same workflow you used on the command-line. First, let's add 12 to the counter by entering '12' into the 'add' method, then selecting 'call'. The output log on the left will reflect this call. +Let's use the same workflow you used on the command-line. First, let's add 12 to the counter by entering '12' into the 'add' method, then selecting 'call'. The output log on the right will reflect this call. ![Candid UI 2](../_attachments/candid_ui-2.png)