settings
This commit is contained in:
1 parent
f1466df56c
commit
c1e03a45b0
2 files changed
+37
-29
No files matched your search
@@ -56,7 +56,7 @@ class SettingsController {
|
||||
};
|
||||
|
||||
updateAppSettings = async (req: Request, res: Response, next: NextFunction) => {
|
||||
await updateAppSettingsBodyValidation.validateAsync(req.body);
|
||||
updateAppSettingsBodyValidation.parse(req.body);
|
||||
|
||||
const updatedSettings = await this.settingsService.updateDbSettings(req.body);
|
||||
const returnSettings = this.buildAppSettings(updatedSettings);
|
||||
|
||||
Reference in new issue
Block a user