From e8f1d52f8f5c85fa5c62d6340514e6abe2d5fd16 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 17 Aug 2025 17:16:46 -0400 Subject: [PATCH] Rename queryable endpoints for users and groups --- src/Tgstation.Server.Host/GraphQL/Types/UserGroupsRepository.cs | 2 +- src/Tgstation.Server.Host/GraphQL/Types/UsersRepository.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/GraphQL/Types/UserGroupsRepository.cs b/src/Tgstation.Server.Host/GraphQL/Types/UserGroupsRepository.cs index ee1b341ace..9837ac5f2e 100644 --- a/src/Tgstation.Server.Host/GraphQL/Types/UserGroupsRepository.cs +++ b/src/Tgstation.Server.Host/GraphQL/Types/UserGroupsRepository.cs @@ -62,7 +62,7 @@ namespace Tgstation.Server.Host.GraphQL.Types [UseFiltering] [UseSorting] [Cost(Costs.NonIndexedQueryable)] - public async ValueTask> QueryableGroups( + public async ValueTask> Queryable( [Service] IGraphQLAuthorityInvoker userGroupAuthority) { ArgumentNullException.ThrowIfNull(userGroupAuthority); diff --git a/src/Tgstation.Server.Host/GraphQL/Types/UsersRepository.cs b/src/Tgstation.Server.Host/GraphQL/Types/UsersRepository.cs index e8fa0b9497..9739392fab 100644 --- a/src/Tgstation.Server.Host/GraphQL/Types/UsersRepository.cs +++ b/src/Tgstation.Server.Host/GraphQL/Types/UsersRepository.cs @@ -88,7 +88,7 @@ namespace Tgstation.Server.Host.GraphQL.Types [UseProjection] [UseFiltering] [UseSorting] - public async ValueTask> QueryableUsers( + public async ValueTask> Queryable( [Service] IGraphQLAuthorityInvoker userAuthority) { ArgumentNullException.ThrowIfNull(userAuthority);