From 0b87147385e56fe1ae0c7ff8746efb81ca7959e4 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Mon, 23 Sep 2024 20:46:31 -0400 Subject: [PATCH] Fix issue with GQL auth and no roles --- .../Security/TgsGraphQLAuthorizeAttribute.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tgstation.Server.Host/Security/TgsGraphQLAuthorizeAttribute.cs b/src/Tgstation.Server.Host/Security/TgsGraphQLAuthorizeAttribute.cs index 5580b27a7b..41f7ab7f37 100644 --- a/src/Tgstation.Server.Host/Security/TgsGraphQLAuthorizeAttribute.cs +++ b/src/Tgstation.Server.Host/Security/TgsGraphQLAuthorizeAttribute.cs @@ -24,6 +24,7 @@ namespace Tgstation.Server.Host.Security /// Initializes a new instance of the class. /// public TgsGraphQLAuthorizeAttribute() + : this(Enumerable.Empty()) { }