Fix TS
This commit is contained in:
@@ -50,7 +50,6 @@ import {initS3} from "./utils/s3";
|
||||
|
||||
//Services
|
||||
import servicesPlugin from "./plugins/services";
|
||||
import {prepareIncomingInvoices} from "./modules/cron/prepareIncomingInvoices";
|
||||
|
||||
async function main() {
|
||||
const app = Fastify({ logger: false });
|
||||
|
||||
@@ -224,6 +224,7 @@ export function bankStatementService(server: FastifyInstance) {
|
||||
for (const accId of affectedAccounts) {
|
||||
await server.db
|
||||
.update(bankaccounts)
|
||||
//@ts-ignore
|
||||
.set({syncedAt: dayjs().utc().toISOString()})
|
||||
.where(eq(bankaccounts.id, accId))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user