Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
...getTransactionsByCategoryName('vehiculeInsurance')
],
period
)
accountStats.currency = 'EUR'
if (!accountStats.relationships) {
accountStats.relationships = {
account: {
data: { _id: accountId, _type: ACCOUNT_DOCTYPE }
}
}
}
await BankAccountStats.createOrUpdate(accountStats)
}
)