Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed Aug 10, 2023
1 parent 005c927 commit fc21009
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class EditSaleReceipt {

// Retrieves the payment customer model.
const paymentCustomer = await Contact.query()
.findById(saleReceiptId)
.findById(saleReceiptDTO.customerId)
.modify('customer')
.throwIfNotFound();

Expand Down

0 comments on commit fc21009

Please sign in to comment.