1
0
Fork 0

Make hashtag history optional in searches

Fixes search on Pleroma.
This commit is contained in:
Ryan Fox 2021-01-15 23:24:18 +00:00
parent 54a3cec17c
commit e0777847a8
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ hashtagDecoder =
Pipe.decode Hashtag
|> Pipe.required "name" Decode.string
|> Pipe.required "url" Decode.string
|> Pipe.required "history" (Decode.list hashtagHistoryDecoder)
|> Pipe.optional "history" (Decode.list hashtagHistoryDecoder) []
searchResultsDecoder : Decode.Decoder SearchResults