mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Studio Tagger (#3510)
* Studio image and parent studio support in scene tagger * Refactor studio backend and add studio tagger --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -116,7 +116,9 @@ func (i *Importer) populateStudio(ctx context.Context) error {
|
||||
}
|
||||
|
||||
func (i *Importer) createStudio(ctx context.Context, name string) (int, error) {
|
||||
newStudio := models.NewStudio(name)
|
||||
newStudio := &models.Studio{
|
||||
Name: name,
|
||||
}
|
||||
|
||||
err := i.StudioWriter.Create(ctx, newStudio)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user