by Robin at 20240429 #375

Merged
chenhao merged 1 commits from feat-IRONFANS-87-Robin into main 2024-04-29 14:25:09 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 29f4a72c32 - Show all commits

View File

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