Skip to content

Commit

Permalink
bugfix in sev user command
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Appelmann committed Mar 19, 2024
1 parent b4c6384 commit 06ea5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/RetrieveSevUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 06ea5e8

Please sign in to comment.