diff --git a/backend/package.json b/backend/package.json index 9e69cd2..45fd1d5 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "app", - "version": "1.3.0", + "version": "1.3.1", "description": "", "main": "index.js", "type": "module", diff --git a/backend/src/app.ts b/backend/src/app.ts index 82184db..548e873 100644 --- a/backend/src/app.ts +++ b/backend/src/app.ts @@ -32,7 +32,7 @@ app.use((err, req: Request, res: Response, next: NextFunction) => { res.status(500).json({ msg: 'an error occurred' }); }); -nodesched.scheduleJob('regenerate data', '*/30 * * * * *', wxService.wrappedGenerateData); +nodesched.scheduleJob('regenerate data', '*/30 * * * *', wxService.wrappedGenerateData); wxService.wrappedGenerateData(); const server = app.listen(config.port, () => { diff --git a/frontend/package.json b/frontend/package.json index 12a178a..00104dd 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "1.3.0", + "version": "1.3.1", "type": "module", "scripts": { "dev": "vite",