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
Hello @berkkarahan & @Swarag-N,
I am using admin-bro for one of my projects. The pre-hook/ post-hook isn't working for me. If I am making an API call, It triggers pre/post-hook, but it didn't work when clicking on save in admin-bro. Are you facing this problem @berkkarahan?
Hey,
When updating a resource from admin panel, schema pre-hooks doesn't run.
However, when creating it, it runs perfectly.
This is the message at terminal in my express application,
(node:50219) DeprecationWarning: Mongoose:
findOneAndUpdate()
andfindOneAndDelete()
without theuseFindAndModify
option set to false are deprecated. See: https://mongoosejs.com/docs/deprecations.html#-findandmodify-The text was updated successfully, but these errors were encountered: