Open Latex88 opened 1 year ago
Nuxt project info: (copied to clipboard) 1:07:09 PM
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?
Import useGqlToken() and use it like the auto generated Functions.
No response
I'm having the same issue, a response would be awesome
I have the same problem. I would like your help.
Any solution for this issue? @Diizzayy
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