diff --git a/app/Helpers/RoleHelperV2.php b/app/Helpers/RoleHelperV2.php index feeaae6..3258588 100644 --- a/app/Helpers/RoleHelperV2.php +++ b/app/Helpers/RoleHelperV2.php @@ -51,7 +51,6 @@ public static function canAssignRole(int $cid, string $role, string $facility = public static function hasRole(User $user, string $role, string $facility) { foreach ($user->roles()->get() as $userRole) { - var_dump($userRole); if ($userRole->role == $role && $userRole->facility == $facility) { return true; }