mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
clean up
This commit is contained in:
parent
c9c8970fcd
commit
518c03ac53
2 changed files with 2 additions and 13 deletions
|
@ -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' }
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue