From aaeeff3526eedbe6df825bd3a4cf4a8c27a8da96 Mon Sep 17 00:00:00 2001 From: MinasukiHikimuna <121475844+MinasukiHikimuna@users.noreply.github.com> Date: Sun, 21 Jul 2024 12:39:57 +0300 Subject: [PATCH] Fix comment: findTag only allows ID or name Finding by alias is not supported. --- frontend/src/graphql/types.ts | 2 +- graphql/schema/schema.graphql | 2 +- pkg/models/generated_exec.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/graphql/types.ts b/frontend/src/graphql/types.ts index 97f4010f..f3b57789 100644 --- a/frontend/src/graphql/types.ts +++ b/frontend/src/graphql/types.ts @@ -1065,7 +1065,7 @@ export type Query = { findSite?: Maybe; /** Find a studio by ID or name */ findStudio?: Maybe; - /** Find a tag by ID or name, or aliases */ + /** Find a tag by ID or name */ findTag?: Maybe; /** Find a tag category by ID */ findTagCategory?: Maybe; diff --git a/graphql/schema/schema.graphql b/graphql/schema/schema.graphql index 5c9db425..88df6f4f 100644 --- a/graphql/schema/schema.graphql +++ b/graphql/schema/schema.graphql @@ -17,7 +17,7 @@ type Query { #### Tags #### # tag names will be unique - """Find a tag by ID or name, or aliases""" + """Find a tag by ID or name""" findTag(id: ID, name: String): Tag @hasRole(role: READ) queryTags(input: TagQueryInput!): QueryTagsResultType! @hasRole(role: READ) diff --git a/pkg/models/generated_exec.go b/pkg/models/generated_exec.go index 7cd6f9c3..ddabfae1 100644 --- a/pkg/models/generated_exec.go +++ b/pkg/models/generated_exec.go @@ -5598,7 +5598,7 @@ type Query { #### Tags #### # tag names will be unique - """Find a tag by ID or name, or aliases""" + """Find a tag by ID or name""" findTag(id: ID, name: String): Tag @hasRole(role: READ) queryTags(input: TagQueryInput!): QueryTagsResultType! @hasRole(role: READ)