This commit is contained in:
Leufolium 2024-07-23 17:04:07 +08:00
parent 24b52988f2
commit c5343564e3
3 changed files with 3 additions and 9 deletions

View File

@ -68,9 +68,7 @@ func (s *Service) CreateUpdateStreamerImageAudit(ctx *gin.Context, oldStreamer *
})
}
isDistinct := true
options := []any{isDistinct}
addImageAuditTasks(ctx, tasks, options)
addImageAuditTasks(ctx, tasks, true)
return
}

View File

@ -69,9 +69,7 @@ func (s *Service) CreateUpdateStreamerTextAudit(ctx *gin.Context, oldStreamer *d
})
}
isDistinct := true
options := []any{isDistinct}
addTextAuditTasks(ctx, tasks, options)
addTextAuditTasks(ctx, tasks, true)
return
}

View File

@ -28,9 +28,7 @@ func (s *Service) CreateUpdateStreamerVideoModeration(ctx *gin.Context, oldStrea
})
}
isDistinct := true
options := []any{isDistinct}
addVideoModerationTasks(ctx, tasks, options)
addVideoModerationTasks(ctx, tasks, true)
return
}