TF-4236 Misleading variable name: maxBatches represents batch size, not batch count.

This commit is contained in:
dab246
2026-01-26 13:34:27 +07:00
committed by Dat H. Pham
parent fe57e72a02
commit 38074ab9f7
6 changed files with 13 additions and 10 deletions
@@ -694,10 +694,10 @@ class EmailAPI with
);
final listEmailIds = setEmailResponse?.destroyed?.toEmailIds() ?? [];
final mapErrors = handleSetResponse([setEmailResponse]);
final batchErrors = handleSetResponse([setEmailResponse]);
destroyedEmailIds.addAll(listEmailIds);
mapErrors.addAll(mapErrors);
mapErrors.addAll(batchErrors);
}
return (emailIdsSuccess: destroyedEmailIds, mapErrors: mapErrors);