Skip to content

Commit

Permalink
Merge pull request #1203 from canyongbs/bugfix/fix-broken-migration
Browse files Browse the repository at this point in the history
[ADVAPP-1063]: Fix broken migration
  • Loading branch information
Orrison authored Dec 19, 2024
2 parents eba1fde + 13196c3 commit 0d345d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function up(): void
$roleHasAssistantViewAnyPermissions
->map(fn (object $roleHasPermission): array => [
'permission_id' => $assistantViewPermissionId,
'role_id' => $roleHasPermission->id,
'role_id' => $roleHasPermission->role_id,
])
->all(),
);
Expand All @@ -86,7 +86,7 @@ public function up(): void
$roleHasRealtimeChatViewAnyPermissions
->map(fn (object $roleHasPermission): array => [
'permission_id' => $realtimeChatViewPermissionId,
'role_id' => $roleHasPermission->id,
'role_id' => $roleHasPermission->role_id,
])
->all(),
);
Expand Down

0 comments on commit 0d345d6

Please sign in to comment.