Use ApplyPolicy.Validation for subscriptions

See https://github.com/ChilliCream/graphql-platform/issues/6259
This commit is contained in:
Jordan Dominion
2025-04-26 22:46:02 -04:00
parent 29120e34be
commit 90faee67fc
@@ -17,7 +17,7 @@ namespace Tgstation.Server.Host.GraphQL
/// Root type for GraphQL subscriptions.
/// </summary>
/// <remarks>Intentionally left mostly empty, use type extensions to properly scope operations to domains.</remarks>
[Authorize]
[Authorize(ApplyPolicy.Validation)] // See https://github.com/ChilliCream/graphql-platform/issues/6259
[GraphQLDescription(GraphQLDescription)]
public sealed class Subscription
{