From a8c78aed3655ec95db3151c5f9fdb7084a13bb48 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 20 Feb 2024 20:40:44 +0100 Subject: [PATCH] [backend/masto-client] Fix missing auto-accessors on account source --- .../Mastodon/Schemas/Entities/AccountEntity.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AccountEntity.cs b/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AccountEntity.cs index 3aaea7b9..50ac6dac 100644 --- a/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AccountEntity.cs +++ b/Iceshrimp.Backend/Controllers/Mastodon/Schemas/Entities/AccountEntity.cs @@ -39,9 +39,9 @@ public class Field public class AccountSource { - [J("language")] public required string Language; - [J("note")] public required string Note; - [J("privacy")] public required string Privacy; - [J("sensitive")] public required bool Sensitive; - [J("fields")] public required Field[] Fields { get; set; } + [J("language")] public required string Language { get; set; } + [J("note")] public required string Note { get; set; } + [J("privacy")] public required string Privacy { get; set; } + [J("sensitive")] public required bool Sensitive { get; set; } + [J("fields")] public required Field[] Fields { get; set; } } \ No newline at end of file