Skip to content

Commit

Permalink
kamansoft#18 Switch getUserToBlamePk env() reference to config()
Browse files Browse the repository at this point in the history
  • Loading branch information
zenoandras committed Nov 19, 2024
1 parent d819de6 commit 0775eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ModelBlamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getUserToBlamePk(): string
$to_return = Auth::user()->getKey();
} else {
Log::warning(static::class.' Not logged user using system user');
$to_return = env('BLAME_SYSTEM_USER_ID');
$to_return = config('blame.system_user_id');
}

return $to_return;
Expand Down

0 comments on commit 0775eee

Please sign in to comment.