updated role middleware

This commit is contained in:
2020-03-06 20:54:39 -06:00
parent f437a4128b
commit 5b131567f7

View File

@@ -27,7 +27,7 @@ class RequireRole
array_push($temp, $ranking); array_push($temp, $ranking);
} }
dd($ranking); dd($roles);
$check = UserRole::where('character_id', auth()->user()->character_id)->get(['role']); $check = UserRole::where('character_id', auth()->user()->character_id)->get(['role']);