Skip to content

Commit

Permalink
Update webex notify redirect route
Browse files Browse the repository at this point in the history
  • Loading branch information
carsso committed Sep 2, 2024
1 parent 5046e27 commit f6b3fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function webexNotify()

if(!config('services.webex.bearer_token')) {
Log::info('Webex bearer token not set, aborting');
return $this->redirectWithError('Token Webex non configuré', redirect()->route('admin.webex'));
return $this->redirectWithError('Token Webex non configuré', redirect()->route('admin'));
}
$api = new WebexApi;
Log::info('Listing Webex rooms');
Expand All @@ -120,6 +120,6 @@ public function webexNotify()
Log::info('Adding Webex room notification task to room ' . $room['title'] .' ' . $room['id']);
ProcessWebexMenuNotification::dispatch($room, $menu, $date);
}
return $this->redirectWithSuccess('Notifications Webex envoyées', redirect()->route('admin.webex'));
return $this->redirectWithSuccess('Notifications Webex envoyées', redirect()->route('admin'));
}
}

0 comments on commit f6b3fc4

Please sign in to comment.