[backend/api] Use [] instead of new Dictionary
This commit is contained in:
parent
dd834128e5
commit
5d938c5f47
1 changed files with 1 additions and 1 deletions
|
@ -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 ?? []
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue