mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Fix typos
This commit is contained in:
parent
4202d761be
commit
88356bac6d
1 changed files with 2 additions and 2 deletions
|
|
@ -554,7 +554,7 @@ func (r *mutationResolver) PerformerMerge(ctx context.Context, input PerformerMe
|
||||||
|
|
||||||
// ensure destination is not in source list
|
// ensure destination is not in source list
|
||||||
if slices.Contains(srcIDs, destID) {
|
if slices.Contains(srcIDs, destID) {
|
||||||
return nil, errors.New("destination scene cannot be in source list")
|
return nil, errors.New("destination performer cannot be in source list")
|
||||||
}
|
}
|
||||||
|
|
||||||
var values *models.PerformerPartial
|
var values *models.PerformerPartial
|
||||||
|
|
@ -597,7 +597,7 @@ func (r *mutationResolver) PerformerMerge(ctx context.Context, input PerformerMe
|
||||||
|
|
||||||
sources, err := qb.FindMany(ctx, srcIDs)
|
sources, err := qb.FindMany(ctx, srcIDs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("finding source scenes: %w", err)
|
return fmt.Errorf("finding source performers: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, src := range sources {
|
for _, src := range sources {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue