This commit is contained in:
Hritikkk9
2024-07-16 18:55:01 +05:30
parent 3d9da59c6d
commit c526fcbdad

View File

@@ -37,7 +37,7 @@ class CustomerJwtMiddleware
Log::info("Customer jwt");
Log::info($user);
if (!$user || $user->principal_type_xid !== 3) {
if (!$user || $user->principal_type_xid != 3) {
return response()->json(['status' => 'error', 'status_code' => 401, 'message' => 'Unauthorized access'], 401);
}
Log::info("Customer jwt");