Skip to content

Commit

Permalink
Fix comment: findTag only allows ID or name (#796)
Browse files Browse the repository at this point in the history
Finding by alias is not supported.
  • Loading branch information
MinasukiHikimuna authored Jul 27, 2024
1 parent c55174a commit e7605da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/graphql/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ export type Query = {
findSite?: Maybe<Site>;
/** Find a studio by ID or name */
findStudio?: Maybe<Studio>;
/** Find a tag by ID or name, or aliases */
/** Find a tag by ID or name */
findTag?: Maybe<Tag>;
/** Find a tag category by ID */
findTagCategory?: Maybe<TagCategory>;
Expand Down
2 changes: 1 addition & 1 deletion graphql/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/generated_exec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7605da

Please sign in to comment.