From d819de6cf22f7cc073c0d598fc2baa51ea270610 Mon Sep 17 00:00:00 2001 From: Andras Schenkerik Date: Tue, 19 Nov 2024 12:52:13 +0100 Subject: [PATCH] #18 Publish system_user_id to public config --- config/blame.php | 1 + config/private_blame.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/blame.php b/config/blame.php index 9fc954a..dfa6ad0 100644 --- a/config/blame.php +++ b/config/blame.php @@ -2,6 +2,7 @@ // config for Kamansoft/LaravelBlame return [ + 'system_user_id' => env('BLAME_SYSTEM_USER_ID'), 'system_user_name' => env('BLAME_SYSTEM_USER_NAME', 'system'), 'system_user_email' => env('BLAME_SYSTEM_USER_EMAIL', 'system'.'@'.explode('/', config('app.url'))[2]), 'created_by_field_name' => 'created_by', diff --git a/config/private_blame.php b/config/private_blame.php index 0038b4f..d3bc1e1 100644 --- a/config/private_blame.php +++ b/config/private_blame.php @@ -2,7 +2,7 @@ //non publishable config files return [ - 'system_user_id' => env('BLAME_SYSTEM_USER_ID'), //do not modify this line + //'system_user_id' => env('BLAME_SYSTEM_USER_ID'), //do not modify this line 'migration_name_prefix' => 'add_blaming_fields_to_', 'migration_name_suffix' => '_table',