From a6bf044a4a2284cac0b98f253fb4e9e76a32ac3b Mon Sep 17 00:00:00 2001 From: Gentrit Abazi Date: Thu, 17 Dec 2020 20:50:17 +0100 Subject: [PATCH] Added default value as null in config. --- src/Config/larasheets.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Config/larasheets.php b/src/Config/larasheets.php index fb099d3..2b5b6dd 100644 --- a/src/Config/larasheets.php +++ b/src/Config/larasheets.php @@ -6,7 +6,7 @@ | Google application name |---------------------------------------------------------------------------- */ - 'application_name' => env('GOOGLE_APPLICATION_NAME', ''), + 'application_name' => env('GOOGLE_APPLICATION_NAME', null), /* |---------------------------------------------------------------------------- @@ -17,9 +17,9 @@ | https://developers.google.com/console | */ - 'client_id' => env('GOOGLE_CLIENT_ID', ''), - 'client_secret' => env('GOOGLE_CLIENT_SECRET', ''), - 'redirect_uri' => env('GOOGLE_REDIRECT', ''), + 'client_id' => env('GOOGLE_CLIENT_ID', null), + 'client_secret' => env('GOOGLE_CLIENT_SECRET', null), + 'redirect_uri' => env('GOOGLE_REDIRECT', null), 'scopes' => [\Google_Service_Sheets::DRIVE, \Google_Service_Sheets::SPREADSHEETS], 'access_type' => 'online', 'approval_prompt' => 'auto', @@ -33,7 +33,7 @@ | a Server key, and not a Browser key. | */ - 'developer_key' => env('GOOGLE_DEVELOPER_KEY', ''), + 'developer_key' => env('GOOGLE_DEVELOPER_KEY', null), /* |---------------------------------------------------------------------------- @@ -54,7 +54,7 @@ * Path to service account json file. You can also pass the credentials as an array * instead of a file path. */ - 'file' => env('GOOGLE_SERVICE_ACCOUNT_JSON_LOCATION'), + 'file' => env('GOOGLE_SERVICE_ACCOUNT_JSON_LOCATION', null), ], /*