jirihofman/portfolio

TypeError: user is not defined

Closed this issue · 2 comments

Hi @jirihofman ,
When I am trying to run it locally I am getting an error that the user is not defined.
I have added both GH_TOKEN and VC_TOKEN, and also added my info in the data.json file.

Screenshot (588)
Screenshot (589)

I got the same error when initializing repo without any credentials. My guess is that your token is wrong or missing some permissions.

I added fallback to return no organizations and no recent activities if there is a problem with the API calls. Also logged messages into server console to see the details. Now you should be able to see what the API returned with your tokens.

thanks for your help @jirihofman.
I got it working I have not clicked on the checkbox for the admin access while creating the token, enabling that fixed it.