Skip to content

Commit

Permalink
#fix: thuanvv convert field customer review-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvanthuan committed Feb 4, 2025
1 parent c143792 commit e0f3ed4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function makeCustomerReviewsRepository({ db }: Dependencies): CustomerRev
});
return customerReviews.map(customerReview => ({
...customerReview,
score: Number(customerReview.score),
id: Number(customerReview.id),
}));
}
Expand Down

0 comments on commit e0f3ed4

Please sign in to comment.