Skip to content

Commit

Permalink
Update Permission.php
Browse files Browse the repository at this point in the history
Fix Users on Permission Model
  • Loading branch information
MirHamit authored Jul 28, 2024
1 parent e19d5d2 commit cfda506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ public function roles()

public function users()
{
return $this->belongsToMany(User::class, 'role_user');
return $this->belongsToMany(User::class, 'permission_user');
}
}

0 comments on commit cfda506

Please sign in to comment.