feat: ability to remove the removed Plaid transactions in updating

This commit is contained in:
Ahmed Bouhuolia
2024-02-04 22:17:37 +02:00
parent c688190acc
commit 00d9bc537c
3 changed files with 40 additions and 5 deletions

View File

@@ -34,6 +34,7 @@ export class PlaidUpdateTransactions {
tenantId,
added.concat(modified)
);
await this.plaidSync.syncRemoveTransactions(tenantId, removed);
await this.plaidSync.syncTransactionsCursor(tenantId, plaidItemId, cursor);
return {