Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Fix for missing Class
Browse files Browse the repository at this point in the history
* Class was renamed
  • Loading branch information
herpaderpaldent committed Sep 5, 2018
1 parent 1451baa commit 3088093
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Version 1.1.1
Fix changed class name.

# Version 1.1.0
This release consist of many improvements:
* Introducing queueable SeAT-Groups update jobs.
Expand Down
8 changes: 4 additions & 4 deletions src/Jobs/GroupSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use Herpaderpaldent\Seat\SeatGroups\Exceptions\MissingRefreshTokenException;
use Herpaderpaldent\Seat\SeatGroups\Models\Seatgroup;
use Herpaderpaldent\Seat\SeatGroups\Models\SeatGroupLog;
use Herpaderpaldent\Seat\SeatGroups\Models\SeatgroupLog;
use Illuminate\Support\Facades\Redis;
use Seat\Web\Models\Group;

Expand Down Expand Up @@ -136,7 +136,7 @@ public function beforeStart()
// take away all roles
$this->group->roles()->sync([]);

SeatGroupLog::create([
SeatgroupLog::create([
'event' => 'warning',
'message' => sprintf('The RefreshToken of %s is missing, therefore user group of %s (%s) loses all permissions.',
$user->name, $this->group->main_character->name, $this->group->users->map(function($user) { return $user->name; })->implode(', '))
Expand All @@ -152,7 +152,7 @@ public function beforeStart()
public function onFail($exception)
{

SeatGroupLog::create([
SeatgroupLog::create([
'event' => 'error',
'message' => sprintf('An error occurred while syncing user group of %s (%s)',
$this->group->main_character->name, $this->group->users->map(function($user) { return $user->name; })->implode(', '))
Expand All @@ -162,7 +162,7 @@ public function onFail($exception)

public function onFinish()
{
SeatGroupLog::create([
SeatgroupLog::create([
'event' => 'success',
'message' => sprintf('The user group of %s (%s) has successfully been synced',
$this->group->main_character->name, $this->group->users->map(function($user) { return $user->name; })->implode(', '))
Expand Down

0 comments on commit 3088093

Please sign in to comment.