3120 persist admin value
This commit is contained in:
1 parent
fb3795bd70
commit
ab4cc80628
5 files changed
+17
-12
No files matched your search
@@ -57,6 +57,10 @@ class SettingsController {
|
||||
};
|
||||
|
||||
updateAppSettings = async (req: Request, res: Response, next: NextFunction) => {
|
||||
// Diagnostics: capture inbound payload
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("=== SETTINGS CONTROLLER REQUEST BODY ===", req.body);
|
||||
|
||||
await updateAppSettingsBodyValidation.validateAsync(req.body);
|
||||
|
||||
const updatedSettings = await this.db.settingsModule.updateAppSettings(req.body);
|
||||
|
||||
Reference in new issue
Block a user