diff --git a/src/services/BaseEntityService.ts b/src/services/BaseEntityService.ts index b245da2..72ef6cd 100644 --- a/src/services/BaseEntityService.ts +++ b/src/services/BaseEntityService.ts @@ -347,7 +347,7 @@ export default abstract class BaseEntityService extends HttpSession { } if (cloner) { if (Array.isArray(body)) { - body = body.map((x) => cloner(new Cloner(body)).copy); + body = body.map((x) => cloner(new Cloner(x)).copy); } else { const c = cloner(new Cloner(body)); body = c.copy;