Make hashtag history optional in searches
Fixes search on Pleroma.
This commit is contained in:
parent
54a3cec17c
commit
e0777847a8
@ -204,7 +204,7 @@ hashtagDecoder =
|
|||||||
Pipe.decode Hashtag
|
Pipe.decode Hashtag
|
||||||
|> Pipe.required "name" Decode.string
|
|> Pipe.required "name" Decode.string
|
||||||
|> Pipe.required "url" Decode.string
|
|> Pipe.required "url" Decode.string
|
||||||
|> Pipe.required "history" (Decode.list hashtagHistoryDecoder)
|
|> Pipe.optional "history" (Decode.list hashtagHistoryDecoder) []
|
||||||
|
|
||||||
|
|
||||||
searchResultsDecoder : Decode.Decoder SearchResults
|
searchResultsDecoder : Decode.Decoder SearchResults
|
||||||
|
Loading…
Reference in New Issue
Block a user