[backend/api] Use [] instead of new Dictionary

This commit is contained in:
pancakes 2025-01-28 17:10:39 +10:00 committed by Laura Hausmann
parent dd834128e5
commit 5d938c5f47
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -44,7 +44,7 @@ public class ProfileController(
IsBot = user.IsBot,
IsCat = user.IsCat,
SpeakAsCat = user.SpeakAsCat,
Pronouns = profile.Pronouns ?? new Dictionary<string, string>()
Pronouns = profile.Pronouns ?? []
};
}