You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've upgraded my app to NextJS 13.4.7 and still using q2m v 0.10.2 and in my API routes, I am now getting errors stating error ReferenceError: defaultKeywords is not defined and it references /query-to-mongo/index.js:204
This is my code:
var query = q2m(request.url)
let dist = await db
.collection(table)
.find(query.criteria, query.options)
.sort({ name: 1 })
.toArray();
Not sure if you've tested with Next 13, but just wanted to report it just in case.
The text was updated successfully, but these errors were encountered:
I've upgraded my app to NextJS 13.4.7 and still using q2m v 0.10.2 and in my API routes, I am now getting errors stating
error ReferenceError: defaultKeywords
is not defined and it references/query-to-mongo/index.js:204
This is my code:
Not sure if you've tested with Next 13, but just wanted to report it just in case.
The text was updated successfully, but these errors were encountered: