mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 22:48:20 +01:00
Rename queryable endpoints for users and groups
This commit is contained in:
@@ -62,7 +62,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
|
||||
[UseFiltering]
|
||||
[UseSorting]
|
||||
[Cost(Costs.NonIndexedQueryable)]
|
||||
public async ValueTask<IQueryable<UserGroup>> QueryableGroups(
|
||||
public async ValueTask<IQueryable<UserGroup>> Queryable(
|
||||
[Service] IGraphQLAuthorityInvoker<IUserGroupAuthority> userGroupAuthority)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(userGroupAuthority);
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
|
||||
[UseProjection]
|
||||
[UseFiltering]
|
||||
[UseSorting]
|
||||
public async ValueTask<IQueryable<User>> QueryableUsers(
|
||||
public async ValueTask<IQueryable<User>> Queryable(
|
||||
[Service] IGraphQLAuthorityInvoker<IUserAuthority> userAuthority)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(userAuthority);
|
||||
|
||||
Reference in New Issue
Block a user