reorder routes

This commit is contained in:
Alex Holliday committed 2025-07-21 10:34:04 -07:00
1 parent 46d7009837
commit 846564a17e
4 files changed
+24 -109

No files matched your search

+2 -10
View File
@@ -10,16 +10,8 @@ class SettingsRoutes {
initRoutes() {
this.router.get("/", this.settingsController.getAppSettings);
this.router.put(
"/",
isAllowed(["admin", "superadmin"]),
this.settingsController.updateAppSettings
);
this.router.post(
"/test-email",
isAllowed(["admin", "superadmin"]),
this.settingsController.sendTestEmail
);
this.router.put("/", isAllowed(["admin", "superadmin"]), this.settingsController.updateAppSettings);
this.router.post("/test-email", isAllowed(["admin", "superadmin"]), this.settingsController.sendTestEmail);
}
getRouter() {