mirror of
https://code.naskya.net/repos/ndqEd
synced 2025-01-25 16:27:50 +09:00
Make frg:isShared key property optional, it was accidentally required
This commit is contained in:
parent
0e0afa78f9
commit
9e881554ea
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ instance ActivityPub PublicKey where
|
|||
when (t /= ("Key" :: Text)) $
|
||||
fail "PublicKey @type isn't Key"
|
||||
(host, id_) <- f2l <$> (o .: "@id" <|> o .: "id")
|
||||
shared <- o .: (frg <> "isShared") .!= False
|
||||
shared <- o .:? (frg <> "isShared") .!= False
|
||||
fmap (host,) $
|
||||
PublicKey id_
|
||||
<$> o .:? "expires"
|
||||
|
|
Loading…
Add table
Reference in a new issue