mirror of https://github.com/stashapp/stash.git
Fix bulk performer update plugin hook (#3754)
This commit is contained in:
parent
702101ecce
commit
124adb3f5b
|
@ -418,7 +418,7 @@ func (r *mutationResolver) BulkPerformerUpdate(ctx context.Context, input BulkPe
|
||||||
// execute post hooks outside of txn
|
// execute post hooks outside of txn
|
||||||
var newRet []*models.Performer
|
var newRet []*models.Performer
|
||||||
for _, performer := range ret {
|
for _, performer := range ret {
|
||||||
r.hookExecutor.ExecutePostHooks(ctx, performer.ID, plugin.ImageUpdatePost, input, translator.getFields())
|
r.hookExecutor.ExecutePostHooks(ctx, performer.ID, plugin.PerformerUpdatePost, input, translator.getFields())
|
||||||
|
|
||||||
performer, err = r.getPerformer(ctx, performer.ID)
|
performer, err = r.getPerformer(ctx, performer.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue