From 20199d02addf7f7ddf708231249bcad5389fa08c Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Mon, 11 Jan 2021 09:06:36 +0000 Subject: [PATCH] Set last_status_at field as optional --- src/Mastodon/Decoder.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mastodon/Decoder.elm b/src/Mastodon/Decoder.elm index 423fb77..428dad5 100644 --- a/src/Mastodon/Decoder.elm +++ b/src/Mastodon/Decoder.elm @@ -79,7 +79,7 @@ accountDecoder = |> Pipe.required "avatar" Decode.string |> Pipe.required "avatar_static" Decode.string |> Pipe.required "created_at" Decode.string - |> Pipe.required "last_status_at" Decode.string + |> Pipe.optional "last_status_at" Decode.string "" |> Pipe.required "display_name" Decode.string |> Pipe.required "followers_count" Decode.int |> Pipe.required "following_count" Decode.int