mirror of
https://github.com/stashapp/stash.git
synced 2026-02-07 16:05:47 +01:00
Format
This commit is contained in:
parent
f19df7a7b2
commit
6fd6c68e7b
3 changed files with 8 additions and 9 deletions
|
|
@ -24,7 +24,6 @@ type Tag {
|
|||
|
||||
parent_count: Int! # Resolver
|
||||
child_count: Int! # Resolver
|
||||
|
||||
custom_fields: Map!
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,11 +62,11 @@ type Loaders struct {
|
|||
StudioByID *StudioLoader
|
||||
StudioCustomFields *CustomFieldsLoader
|
||||
|
||||
TagByID *TagLoader
|
||||
TagCustomFields *CustomFieldsLoader
|
||||
GroupByID *GroupLoader
|
||||
FileByID *FileLoader
|
||||
FolderByID *FolderLoader
|
||||
TagByID *TagLoader
|
||||
TagCustomFields *CustomFieldsLoader
|
||||
GroupByID *GroupLoader
|
||||
FileByID *FileLoader
|
||||
FolderByID *FolderLoader
|
||||
}
|
||||
|
||||
type Middleware struct {
|
||||
|
|
|
|||
|
|
@ -167,9 +167,9 @@ func (g sceneRelationships) tags(ctx context.Context) ([]int, error) {
|
|||
} else if createMissing {
|
||||
newTag := t.ToTag(endpoint, nil)
|
||||
|
||||
err := g.tagCreator.Create(ctx, &models.CreateTagInput{
|
||||
Tag: newTag,
|
||||
})
|
||||
err := g.tagCreator.Create(ctx, &models.CreateTagInput{
|
||||
Tag: newTag,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error creating tag: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue