mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix(preferences): currencies preferences.
This commit is contained in:
@@ -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 }),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user