fix(preferences): currencies preferences.

This commit is contained in:
a.bouhuolia
2021-03-24 13:09:56 +02:00
parent 542110fdf3
commit ac5e88f558
16 changed files with 346 additions and 285 deletions

View File

@@ -41,7 +41,7 @@ export default class SettingsController extends BaseController {
return [
body('options').isArray({ min: 1 }),
body('options.*.key').exists().trim().isLength({ min: 1 }),
body('options.*.value').exists().trim().isLength({ min: 1 }),
body('options.*.value').exists().trim(),
body('options.*.group').exists().trim().isLength({ min: 1 }),
];
}