From edd41aab6221bcd86f2e42ca1d94c2b87704d243 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Wed, 11 Sep 2024 16:17:13 -0400 Subject: [PATCH] Apply code suggestion --- src/Tgstation.Server.Api/Models/UserName.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Api/Models/UserName.cs b/src/Tgstation.Server.Api/Models/UserName.cs index 779f951916..a3b6be8162 100644 --- a/src/Tgstation.Server.Api/Models/UserName.cs +++ b/src/Tgstation.Server.Api/Models/UserName.cs @@ -25,7 +25,7 @@ /// The child of to create. /// A new copied from . protected virtual TResultType CreateUserName() - where TResultType : UserName, new() => new TResultType + where TResultType : UserName, new() => new() { Id = Id, Name = Name,