From 5d938c5f47efe22b429bdfd9b9b33a6e1d9590f7 Mon Sep 17 00:00:00 2001 From: pancakes Date: Tue, 28 Jan 2025 17:10:39 +1000 Subject: [PATCH] [backend/api] Use [] instead of new Dictionary --- Iceshrimp.Backend/Controllers/Web/ProfileController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceshrimp.Backend/Controllers/Web/ProfileController.cs b/Iceshrimp.Backend/Controllers/Web/ProfileController.cs index 21eb4c54..760826c5 100644 --- a/Iceshrimp.Backend/Controllers/Web/ProfileController.cs +++ b/Iceshrimp.Backend/Controllers/Web/ProfileController.cs @@ -44,7 +44,7 @@ public class ProfileController( IsBot = user.IsBot, IsCat = user.IsCat, SpeakAsCat = user.SpeakAsCat, - Pronouns = profile.Pronouns ?? new Dictionary() + Pronouns = profile.Pronouns ?? [] }; }