Skip to content

Commit

Permalink
fix(config): set the default value of the resolver to a FQCN, instead…
Browse files Browse the repository at this point in the history
… of a Closure. - Fixes #290
  • Loading branch information
quetzyg committed Sep 16, 2017
1 parent b0a4eee commit 8315b70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/audit.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
'primary_key' => 'id',
'foreign_key' => 'user_id',
'model' => App\User::class,
'resolver' => function () {
return Auth::check() ? Auth::user()->getAuthIdentifier() : null;
},
'resolver' => App\User::class,
],

/*
Expand Down

0 comments on commit 8315b70

Please sign in to comment.