We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is my code in Country Model
public function getActivitylogOptions(): LogOptions { $user = auth()->user(); return LogOptions::defaults() ->logUnguarded(); }
Log saving perfectly, bu the causer_type, causer_id is insert as null.
I need those columns with my auth id
Please help me to solve this issue.
The text was updated successfully, but these errors were encountered:
You can use the causer resolver to set this globally. Checkout some more info below https://spatie.be/docs/laravel-activitylog/v4/api/causer-resolver https://spatie.be/docs/laravel-activitylog/v4/advanced-usage/define-causer-for-runtime
Sorry, something went wrong.
No branches or pull requests
This is my code in Country Model
Log saving perfectly, bu the causer_type, causer_id is insert as null.
I need those columns with my auth id
Please help me to solve this issue.
The text was updated successfully, but these errors were encountered: