Skip to content

Commit

Permalink
duplicate page ids on audit duplication (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
hissalht authored Nov 6, 2024
1 parent 33319b7 commit 7b702ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions confiture-rest-api/src/audits/audit.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,7 @@ export class AuditService {
create: originalAudit.pages.map((p) => ({
name: p.name,
url: p.url,
order: p.order,
results: {
create: p.results.map((r) => ({
...omit(r, ["id", "pageId"]),
Expand Down

0 comments on commit 7b702ab

Please sign in to comment.