From ee11375719f52dc60c80df385ff19fcc66c81ae7 Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Mon, 18 May 2026 11:35:01 +0200 Subject: [PATCH] Update MixtapeIdentityUser.cs --- mixtape/Identity/Models/MixtapeIdentityUser.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mixtape/Identity/Models/MixtapeIdentityUser.cs b/mixtape/Identity/Models/MixtapeIdentityUser.cs index 01d9d473..d73f6872 100644 --- a/mixtape/Identity/Models/MixtapeIdentityUser.cs +++ b/mixtape/Identity/Models/MixtapeIdentityUser.cs @@ -45,12 +45,12 @@ public abstract class MixtapeIdentityUser : MixtapeEntity /// /// The user's claims, for use in claims-based authentication. /// - public List Claims { get; set; } = new(); + public List Claims { get; set; } = []; /// /// The roles (aliases) of the user /// - public List RoleIds { get; set; } = new(); + public List RoleIds { get; set; } = []; /// /// Ability to implement ISupportsSoftDelete @@ -99,10 +99,10 @@ public abstract class MixtapeIdentityUser : MixtapeEntity /// /// Store all external logins (Microsoft, Google, ...) /// - public List ExternalLogins { get; set; } = new(); + public List ExternalLogins { get; set; } = []; /// /// Authenticator tokens /// - public List Tokens { get; set; } = new(); + public List Tokens { get; set; } = []; }