We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents caf1188 + c16effa commit 7841e86Copy full SHA for 7841e86
src/api/withdrawal/withdrawal.service.ts
@@ -187,7 +187,7 @@ export class WithdrawalService {
187
);
188
} catch (error) {
189
this.logger.error(`Failed to create payment release: ${error.message}`);
190
- throw new Error('Failed to create db entry for payment release!');
+ throw new Error('Failed to release payment!');
191
}
192
});
193
src/shared/payments/payments.service.ts
@@ -119,7 +119,7 @@ export class PaymentsService {
119
},
120
121
122
- if (r.count === 0 || r.count !== winningsIds.length) {
+ if (r.count < winningsIds.length) {
123
throw new Error(
124
'Not all rows were updated! Please check the provided winnings IDs and status.',
125
0 commit comments