Remove debug logging and add feature documentation
- Remove all console.log statements added during development - Clean up code for production readiness
This commit is contained in:
1 parent
76ab2695db
commit
7b619e6b31
4 files changed
+2
-29
No files matched your search
@@ -57,10 +57,6 @@ 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