mirror of
https://code.naskya.net/repos/ndqEd
synced 2025-01-10 21:16:46 +09:00
Fix infinite loop in ActivityPub audience parsing
This commit is contained in:
parent
b12ad49b62
commit
07281f6900
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ newtype AdaptAudience = AdaptAudience
|
||||||
}
|
}
|
||||||
|
|
||||||
instance FromJSON AdaptAudience where
|
instance FromJSON AdaptAudience where
|
||||||
parseJSON = parseJSON . adapt
|
parseJSON = fmap AdaptAudience . parseJSON . adapt
|
||||||
where
|
where
|
||||||
adapt v =
|
adapt v =
|
||||||
case v of
|
case v of
|
||||||
|
|
Loading…
Reference in a new issue