diff --git a/app/controllers/general.php b/app/controllers/general.php index fb8393e8fd..a9b320b1c0 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -373,7 +373,8 @@ function router(Http $utopia, Database $dbForPlatform, callable $getProjectDB, S $payload = []; try { $payload = $jwt->decode($userJwt); - } catch (JWTException $error) {} + } catch (JWTException $error) { + } $userId = $payload['userId'] ?? ''; $isExecutionAllowed = \in_array("user:{$userId}", $permissions);