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
Masai LionOP
Answered by Masai Lion
there was an typo in schema instead of cookies there was cookie
View full answer

4 Replies

@Masai Lion Click to see attachment
what is found?
@Ray what is `found`?
Masai LionOP
sry, i found the err
@Ray what is `found`?
Masai LionOP
it is an object, returned from the mongoose
Masai LionOP
there was an typo in schema instead of cookies there was cookie
Answer