diff --git a/src/Mastodon/Decoder.elm b/src/Mastodon/Decoder.elm index 7eeb467..cfeb401 100644 --- a/src/Mastodon/Decoder.elm +++ b/src/Mastodon/Decoder.elm @@ -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