Make user id optional on hash-jwts to accomodate unauthenticated public downloads. (#3141)

This commit is contained in:
Chris Penner 2022-06-21 10:42:41 -06:00 committed by GitHub
parent 021b9965f6
commit f898cd6ecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ hashJWTHash =
data HashJWTClaims = HashJWTClaims
{ hash :: Hash32,
userId :: Text
userId :: Maybe Text
}
deriving stock (Show, Eq, Ord)