Closed joeychilson closed 8 months ago
When accessing api/login and api/register endpoints the server would return a 500 error with the message getQuery is not defined.
Added the getQuery from h3 to the imports for both login.get.ts and register.get.ts file.
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.