From ea7cf7bc7bfa6eb77cc98991f309cb7682706b23 Mon Sep 17 00:00:00 2001 From: Gyubong Lee Date: Thu, 7 Mar 2024 05:37:00 +0000 Subject: [PATCH] Remove useless change --- src/ai/backend/manager/models/gql.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ai/backend/manager/models/gql.py b/src/ai/backend/manager/models/gql.py index ebcfcea708..7b63ed9bfc 100644 --- a/src/ai/backend/manager/models/gql.py +++ b/src/ai/backend/manager/models/gql.py @@ -2145,7 +2145,6 @@ async def resolve_model_cards( class GQLMutationPrivilegeCheckMiddleware: def resolve(self, next, root, info: graphene.ResolveInfo, **args) -> Any: graph_ctx: GraphQueryContext = info.context - if info.operation.operation == OperationType.MUTATION and len(info.path) == 1: mutation_cls = getattr(Mutations, info.field_name).type # default is allow nobody.