nuxt-modules / kinde

Kinde integration for Nuxt
72 stars 7 forks source link

fix: missing getQuery import #63

Closed joeychilson closed 8 months ago

joeychilson commented 8 months ago

Problem:

When accessing api/login and api/register endpoints the server would return a 500 error with the message getQuery is not defined.

Solution:

Added the getQuery from h3 to the imports for both login.get.ts and register.get.ts file.