From 29f4a72c32ba7d69808b3523ce8917d4bb569c8f Mon Sep 17 00:00:00 2001 From: Leufolium Date: Mon, 29 Apr 2024 14:24:31 +0800 Subject: [PATCH] by Robin at 20240429 --- library/contentaudit/textaudit/textaudit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/contentaudit/textaudit/textaudit.go b/library/contentaudit/textaudit/textaudit.go index 459e090b..0af8ec6c 100644 --- a/library/contentaudit/textaudit/textaudit.go +++ b/library/contentaudit/textaudit/textaudit.go @@ -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) }