From 86e2d092f77c31c3e9e17e9d350a917e89b70776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nick=20=27MorpheusXAUT=27=20M=C3=BCller?= Date: Wed, 5 Jul 2023 16:38:59 +0200 Subject: [PATCH 1/2] Fix cronjob syntax for data regeneration --- backend/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, () => { From 9ad8c53322aa31dce7d0b8655c3674b0a6f18bbb Mon Sep 17 00:00:00 2001 From: Fionn Date: Fri, 28 Jul 2023 22:03:50 +0200 Subject: [PATCH 2/2] bump version to 1.3.1 --- backend/package.json | 2 +- frontend/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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",