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
Hi. I need to touch my mongoose model to create a favoriteTweet array when a user is first created by next-auth. If the user already is found inside favoriteTweet then this action will not run again. May i know if this is possible and how can I achieve it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I need to touch my mongoose model to create a favoriteTweet array when a user is first created by next-auth. If the user already is found inside favoriteTweet then this action will not run again. May i know if this is possible and how can I achieve it?
My [...nextauth].ts file, ...
Thanks
Beta Was this translation helpful? Give feedback.
All reactions