Added Helpdesk
This commit is contained in:
@@ -22,6 +22,8 @@ import bankingRoutes from "./routes/banking";
|
||||
import exportRoutes from "./routes/exports"
|
||||
import emailAsUserRoutes from "./routes/emailAsUser";
|
||||
import authProfilesRoutes from "./routes/profiles";
|
||||
import helpdeskRoutes from "./routes/helpdesk";
|
||||
import helpdeskInboundRoutes from "./routes/helpdesk.inbound";
|
||||
|
||||
import {sendMail} from "./utils/mailer";
|
||||
import {loadSecrets, secrets} from "./utils/secrets";
|
||||
@@ -62,6 +64,8 @@ async function main() {
|
||||
await app.register(authRoutes);
|
||||
await app.register(healthRoutes);
|
||||
|
||||
await app.register(helpdeskInboundRoutes);
|
||||
|
||||
|
||||
|
||||
//Geschützte Routes
|
||||
@@ -82,6 +86,7 @@ async function main() {
|
||||
await subApp.register(exportRoutes);
|
||||
await subApp.register(emailAsUserRoutes);
|
||||
await subApp.register(authProfilesRoutes);
|
||||
await subApp.register(helpdeskRoutes);
|
||||
|
||||
},{prefix: "/api"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user