setup routine

This commit is contained in:
Julian Krauser 2025-04-25 08:18:49 +02:00
parent 70edd165ee
commit 2e3d0a755c
8 changed files with 147 additions and 13 deletions

View file

@ -9,7 +9,7 @@ import { SettingString } from "../../../type/settingTypes";
* @returns {Promise<*>}
*/
export async function getSettings(req: Request, res: Response): Promise<any> {
res.json(SettingHelper.getAllSettings());
res.json({ ...SettingHelper.getAllSettings(), ["mail.password"]: undefined });
}
/**