feat(admin,api,player): smart score solver, disable settlement UI, misc fixes
This commit is contained in:
@@ -33,6 +33,7 @@ export class WalletService {
|
||||
operatorId: bigint,
|
||||
remark?: string,
|
||||
referenceId?: string,
|
||||
transactionType = 'MANUAL_DEPOSIT',
|
||||
) {
|
||||
const amt = new Decimal(amount);
|
||||
if (amt.lte(0)) throw new BadRequestException('Amount must be positive');
|
||||
@@ -55,7 +56,7 @@ export class WalletService {
|
||||
transactionId: generateTransactionId(),
|
||||
userId,
|
||||
walletId: w.id,
|
||||
transactionType: 'MANUAL_DEPOSIT',
|
||||
transactionType,
|
||||
amount: amt,
|
||||
balanceBefore,
|
||||
balanceAfter,
|
||||
|
||||
Reference in New Issue
Block a user