Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongoose-dff-history doesn't work when create entity #75

Open
albina-sharkz opened this issue Mar 9, 2022 · 0 comments
Open

mongoose-dff-history doesn't work when create entity #75

albina-sharkz opened this issue Mar 9, 2022 · 0 comments

Comments

@albina-sharkz
Copy link

albina-sharkz commented Mar 9, 2022

Save not trigger when create entity. So its not working when I want to save in history information about when item was created. It just keeps the updates.

if (this.isNew) return next();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant