setup routine
This commit is contained in:
parent
70edd165ee
commit
2e3d0a755c
8 changed files with 147 additions and 13 deletions
|
@ -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 });
|
||||
}
|
||||
|
||||
/**
|
Loading…
Add table
Add a link
Reference in a new issue