We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db9fee commit 01ad3f3Copy full SHA for 01ad3f3
src/PostgREST/Auth/Jwt.hs
@@ -94,8 +94,7 @@ checkForErrors time audMatches =
94
else
95
mempty
96
97
- claim key parseError checkParsed = maybe (pure parseError) (maybe mempty checkParsed) . parseMaybe (.:? key)
98
-
+ claim key parseError checkParsed = maybe (pure parseError) (foldMap checkParsed) . parseMaybe (.:? key)
99
100
-- | Receives the JWT secret and audience (from config) and a JWT and returns a
101
-- JSON object of JWT claims.
0 commit comments