removed dots
This commit is contained in:
1 parent
ddb484cac9
commit
adc466e09a
2 files changed
+2
-2
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user