Merge pull request 'by Robin at 20240429' (#376) from feat-IRONFANS-87-Robin into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/376
This commit is contained in:
chenhao 2024-04-29 14:25:16 +08:00
commit 1313f17fe0
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ func createScanTextRequest(ctrlBlock *TextAuditTaskBatchControlBlock) (requests
if i*10 < len(reqTasks) { if i*10 < len(reqTasks) {
request := &textaudit.ScanTextRequest{ request := &textaudit.ScanTextRequest{
Labels: scanLabels, Labels: scanLabels,
Tasks: reqTasks[i*10 : (i+1)*10], Tasks: reqTasks[i*10:],
} }
requests = append(requests, request) requests = append(requests, request)
} }