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 3a8f4a4 commit e1f0f8cCopy full SHA for e1f0f8c
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