Next.js Discord

Discord Forum

why found.cookies returning undefined ? when there is cookies in the found variable?

Answered
Masai Lion posted this in #help-forum
Open in Discord
Avatar
Masai LionOP
Image
Image
Answered by Masai Lion
there was an typo in schema instead of cookies there was cookie
View full answer

4 Replies

Avatar
what is found?
Avatar
Masai LionOP
sry, i found the err
it is an object, returned from the mongoose
Avatar
Masai LionOP
there was an typo in schema instead of cookies there was cookie
Answer