Compare commits

...

1 Commits

Author SHA1 Message Date
Ahmed Bouhuolia
c7c021c969 fix(banking): detarmine if Plaid item is disabled (#585) 2024-08-11 12:10:15 +02:00

View File

@@ -83,8 +83,9 @@ export class PlaidWebooks {
webhookCode: string
): Promise<void> {
const { PlaidItem } = this.tenancy.models(tenantId);
const plaidItem = await PlaidItem.query()
.findById(plaidItemId)
.findOne({ plaidItemId })
.throwIfNotFound();
switch (webhookCode) {