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();