From 06ea5e88f1ab31cbb58f5ec8be2f72c406e79859 Mon Sep 17 00:00:00 2001 From: Martin Appelmann Date: Tue, 19 Mar 2024 16:14:08 +0100 Subject: [PATCH] bugfix in sev user command --- src/Console/RetrieveSevUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/RetrieveSevUser.php b/src/Console/RetrieveSevUser.php index 2fccd04..d27ee6d 100644 --- a/src/Console/RetrieveSevUser.php +++ b/src/Console/RetrieveSevUser.php @@ -21,7 +21,7 @@ public function handle() { $this->info('Check Sevdesk API Key'); try { - if (env('SEVDESK_SEV_USER') !== null && env('SEVDESK_SEV_USER') !== '') { + if (env('SEVDESK_API_TOKEN') !== null && env('SEVDESK_API_TOKEN') !== '') { $intance = SevdeskApi::make(); $this->info('Start user request'); $users = $intance->user()->all();