mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 04:27:19 +01:00
Use ApplyPolicy.Validation for subscriptions
See https://github.com/ChilliCream/graphql-platform/issues/6259
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user