-
Notifications
You must be signed in to change notification settings - Fork 390
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
Exception occurred when triggering event that is not auditable #212
Comments
Has the |
Yes, i just want to only create audit when updating the model. |
Yes, you already said that. Can you show the actual code you're using? |
This is my model class
This is the script to trigger the exception
|
Working on a fix. |
I have set $auditableEvents to only audit on update
protected $auditableEvents = [ 'updated' ];
after that, when I create the eloquent modal it throws this below exception
A valid audit event must be set
The text was updated successfully, but these errors were encountered: