1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 23:45:21 +02:00
This commit is contained in:
Tyler Myracle 2024-01-15 10:59:11 -06:00
parent c9c8970fcd
commit 518c03ac53
2 changed files with 2 additions and 13 deletions

View file

@ -161,8 +161,8 @@ router.post(
console.log('handling webhook') console.log('handling webhook')
await ctx.tellerWebhooks.handleWebhook(input as TellerTypes.WebhookData) await ctx.tellerWebhooks.handleWebhook(input as TellerTypes.WebhookData)
} catch (err) { } catch (err) {
// record error but don't throw, otherwise Finicity Connect behaves weird // record error but don't throw
ctx.logger.error(`[finicity_webhook] error handling webhook`, err) ctx.logger.error(`[teller_webhook] error handling webhook`, err)
} }
return { status: 'ok' } return { status: 'ok' }

View file

@ -1,16 +1,5 @@
import type { Logger } from 'winston' import type { Logger } from 'winston'
import type { AccountConnection, PrismaClient, User } from '@prisma/client' import type { AccountConnection, PrismaClient, User } from '@prisma/client'
import type { IETL, SyncConnectionOptions } from '@maybe-finance/server/shared'
import type { IInstitutionProvider } from '../../institution'
import type {
AccountConnectionSyncEvent,
IAccountConnectionProvider,
} from '../../account-connection'
import _ from 'lodash'
import axios from 'axios'
import { v4 as uuid } from 'uuid'
import { SharedUtil } from '@maybe-finance/shared'
import { etl } from '@maybe-finance/server/shared'
import type { TellerApi } from '@maybe-finance/teller-api' import type { TellerApi } from '@maybe-finance/teller-api'
export interface ITellerConnect { export interface ITellerConnect {