Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Issue with storing username (level 3) #64

Open
jgege opened this issue Feb 28, 2020 · 0 comments
Open

Issue with storing username (level 3) #64

jgege opened this issue Feb 28, 2020 · 0 comments
Assignees

Comments

@jgege
Copy link

jgege commented Feb 28, 2020

I started the tutorial on level 3. As the description said, I used the code from folder level2-complete but I ran into an issue at step 5: the assistant couldn't remember my name. When I deployed the code from level3-complete it was working alright. So after some debugging, I realised that it is probably because in the level2-complete code the user's name is stored in conv.data.userName (which wasn't working) while in level3-complete it was in conv.user.storage.userName (works alright). The name is also always retrieved from the latter in the rest of the code.

Level 2
https://github.com/actions-on-google/codelabs-nodejs/blob/master/level2-complete/functions/index.js#L81

Level 3
https://github.com/actions-on-google/codelabs-nodejs/blob/master/level3-complete/functions/index.js#L121

@jgege jgege changed the title Issue with storing user name (level 3) Issue with storing username (level 3) Feb 28, 2020
@taycaldwell taycaldwell self-assigned this Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants