Skip to content

Commit

Permalink
bulk cloner fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed May 2, 2024
1 parent 352eed8 commit 357cece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/BaseEntityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 357cece

Please sign in to comment.