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

@@ -23,7 +23,7 @@ export class PlaidItemService {
* @param {PlaidItemDTO} itemDTO
* @returns {Promise<void>}
*/
public async item(tenantId: number, itemDTO: PlaidItemDTO) {
public async item(tenantId: number, itemDTO: PlaidItemDTO): Promise<void> {
const { PlaidItem } = this.tenancy.models(tenantId);
const { publicToken, institutionId } = itemDTO;