From adc466e09a5036764642a34c55f5c16b27851d23 Mon Sep 17 00:00:00 2001 From: grey Date: Sun, 27 Aug 2023 18:56:39 +0200 Subject: [PATCH] removed dots --- src/assets/configHandler.ts | 2 +- src/routes/frontend/manage/import/csvImport.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/configHandler.ts b/src/assets/configHandler.ts index 4cfb8b0..9123bd8 100644 --- a/src/assets/configHandler.ts +++ b/src/assets/configHandler.ts @@ -80,7 +80,7 @@ export const config = new ConfigHandler(__path + '/config.json', { console.log('Base Config:'); console.log(config.global); -console.log('Add some new key to config and call save_config.'); +console.log('Add some new key to config and call save_config'); config.global.NewKey = 'ThisIsANewKey!' config.save_config() diff --git a/src/routes/frontend/manage/import/csvImport.ts b/src/routes/frontend/manage/import/csvImport.ts index 421bf64..36397d8 100644 --- a/src/routes/frontend/manage/import/csvImport.ts +++ b/src/routes/frontend/manage/import/csvImport.ts @@ -8,7 +8,7 @@ function post(req: Request, res: Response) { // Handle file upload and import console.log(req.files); if (!req.files || Object.keys(req.files).length === 0) { - return res.status(400).send('No files were uploaded.'); + return res.status(400).send('No files were uploaded'); } const file: UploadedFile = req.files.formFile as UploadedFile;