Schedule Olist sync from last completion
This commit is contained in:
@@ -8,7 +8,7 @@ const start = async () => {
|
||||
await markInterruptedOlistRuns();
|
||||
|
||||
const app = createApp();
|
||||
if (OLIST_SYNC_ENABLED) scheduleOlistSync();
|
||||
if (OLIST_SYNC_ENABLED) await scheduleOlistSync();
|
||||
app.listen(PORT, '0.0.0.0', () => {
|
||||
console.log(`Nexstar Backend running at http://localhost:${PORT}`);
|
||||
console.log(`Endpoint for n8n: POST http://localhost:${PORT}/api/data`);
|
||||
|
||||
Reference in New Issue
Block a user