Skip to content

Commit

Permalink
Merge branch '108-bug-fix-examine' into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
jcy0308 committed May 2, 2024
2 parents 770a24b + 7e363b3 commit 2b91368
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/reviews/reviews.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,11 @@ export class ReviewsService {
}
}
}
const fileUUID = updateReviewDto.fileUUID ? updateReviewDto.fileUUID : file.uuid;
let fileUUID: string;
if (file) {
fileUUID = updateReviewDto.fileUUID ? updateReviewDto.fileUUID : file.uuid;
}

return await tx.review.update({
where: {
id,
Expand Down

0 comments on commit 2b91368

Please sign in to comment.