-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useGqlToken is not defined #421
Labels
bug
Something isn't working
Comments
I'm having the same issue, a response would be awesome |
I have the same problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Nuxt project info: (copied to clipboard) 1:07:09 PM
Describe the bug
When calling useGqlToken() inside an server environment (e.g. server/api/auth) I get the error "useGqlToken is not defined".
I'm a Nuxt noob and found out that inside server environments auto imports should not work.
So how do I import this function?
Expected behaviour
Import useGqlToken() and use it like the auto generated Functions.
Reproduction
No response
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: