1
0
Fork 0

Application field is now optional (#205)

Mastodon v2.8.2
This commit is contained in:
Vincent Jousse 2019-05-15 22:13:06 +02:00 committed by GitHub
parent 2e89ad0b0f
commit c2682f147b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ statusDecoder : Decode.Decoder Status
statusDecoder =
Pipe.decode Status
|> Pipe.required "account" accountDecoder
|> Pipe.required "application" (Decode.nullable applicationDecoder)
|> Pipe.optional "application" (Decode.nullable applicationDecoder) Nothing
|> Pipe.required "content" Decode.string
|> Pipe.required "created_at" Decode.string
|> Pipe.optional "favourited" (Decode.nullable Decode.bool) Nothing