Skip to content

Commit

Permalink
fix: message
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Mar 16, 2022
1 parent 31842e7 commit 4b0d90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/Earnings.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const updateEarnings = async (earningsRepo, requestBody) => {


if (earnings.status !== 'calculated')
throw new HttpError(409, 'There are some earnings records in this file have been paid or canceled');
throw new HttpError(409, 'There are some earning records in this file have been paid or canceled');

if (earnings.payment_confirmation_id)
throw new HttpError(409, 'Earnings already have a payment_confirmation_id');
Expand Down

0 comments on commit 4b0d90c

Please sign in to comment.