Type '"adminusers"' is not assignable to type 'CollectionSlug' #11877
Unanswered
brillian-rahul-survase
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
npm run build is failing
Node: 20/22
Next: 15.2.3
const payload: Payload = await getPayload({ config }) const usersQuery = await payload.find({ collection: 'adminusers', where: { email: { equals: email } } })
I tried running
npm run generate:types
but no luckBeta Was this translation helpful? Give feedback.
All reactions