add config routes
This commit is contained in:
@@ -17,6 +17,7 @@ import { taskSchemas } from "./task/task.schema";
|
||||
import { notificationSchemas } from "./notification/notification.schema";
|
||||
import { noteSchemas } from "./note/note.schema";
|
||||
import { webAuthnRoutes } from "./webauthn/webauthn.route";
|
||||
import { configSchemas } from "./config/config.schema";
|
||||
|
||||
const app = fastify({ logger: true, trustProxy: true });
|
||||
|
||||
@@ -47,6 +48,7 @@ for (const schema of [
|
||||
...taskSchemas,
|
||||
...notificationSchemas,
|
||||
...noteSchemas,
|
||||
...configSchemas,
|
||||
]) {
|
||||
app.addSchema(schema);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user