Skip to content

Commit

Permalink
fix: returns only status when updating duplicated supportRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
vivianedias committed Sep 10, 2024
1 parent 080d887 commit 3e0c76d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/handleDuplicatedSupportRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ const handleDuplicatedSupportRequest = async (
data: {
status: "duplicated",
},
select: {
status: true,
},
});

await db.supportRequestStatusHistory.create({
Expand Down

0 comments on commit 3e0c76d

Please sign in to comment.