wallet: fix type error

This commit is contained in:
Florian Dold 2022-03-29 13:50:45 +02:00
parent c265e7d019
commit cb18b9813e
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -450,19 +450,19 @@ export async function retryTransaction(
break; break;
case TransactionType.Withdrawal: case TransactionType.Withdrawal:
const withdrawalGroupId = rest[0]; const withdrawalGroupId = rest[0];
await processWithdrawGroup(ws, withdrawalGroupId, true); await processWithdrawGroup(ws, withdrawalGroupId, { forceNow: true });
break; break;
case TransactionType.Payment: case TransactionType.Payment:
const proposalId = rest[0]; const proposalId = rest[0];
await processPurchasePay(ws, proposalId, true); await processPurchasePay(ws, proposalId, { forceNow: true });
break; break;
case TransactionType.Tip: case TransactionType.Tip:
const walletTipId = rest[0]; const walletTipId = rest[0];
await processTip(ws, walletTipId, true); await processTip(ws, walletTipId, { forceNow: true });
break; break;
case TransactionType.Refresh: case TransactionType.Refresh:
const refreshGroupId = rest[0]; const refreshGroupId = rest[0];
await processRefreshGroup(ws, refreshGroupId, true); await processRefreshGroup(ws, refreshGroupId, { forceNow: true });
break; break;
default: default:
break; break;