[backend/masto-client] Make hashtag history placeholder an array
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 1m44s

This should improve compatibility with some mastodon clients.
This commit is contained in:
Laura Hausmann 2024-05-07 22:26:09 +02:00
parent ef226ee8fe
commit a2136f649b
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -7,5 +7,6 @@ public class TagEntity
[J("name")] public required string Name { get; set; }
[J("url")] public required string Url { get; set; }
[J("following")] public required bool Following { get; set; }
[J("history")] public object History => new();
[J("history")] public object[] History => [];
}