removed dots

This commit is contained in:
Sören Oesterwind 2023-08-27 18:56:39 +02:00
parent ddb484cac9
commit adc466e09a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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