[backend/masto-client] Fix compatibility with latest masto-fe-standalone

This commit is contained in:
Laura Hausmann 2024-05-06 22:37:26 +02:00
parent 2a92283395
commit 9679001a2b
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -4,8 +4,8 @@ namespace Iceshrimp.Backend.Controllers.Mastodon.Schemas.Entities;
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 => null;
[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();
}