This commit is contained in:
2026-01-01 16:37:40 +01:00
parent 78ae8989ba
commit a5f82c3ef3
2 changed files with 1 additions and 1 deletions

View File

@@ -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 });

View File

@@ -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))
}