add notes routes
This commit is contained in:
@@ -15,6 +15,7 @@ import { authRoutes } from "./auth/auth.route";
|
||||
import { rtsSchemas } from "./rts/rts.schema";
|
||||
import { taskSchemas } from "./task/task.schema";
|
||||
import { notificationSchemas } from "./notification/notification.schema";
|
||||
import { noteSchemas } from "./note/note.schema";
|
||||
|
||||
const app = fastify({ logger: true });
|
||||
|
||||
@@ -43,6 +44,7 @@ for (const schema of [
|
||||
...rtsSchemas,
|
||||
...taskSchemas,
|
||||
...notificationSchemas,
|
||||
...noteSchemas,
|
||||
]) {
|
||||
app.addSchema(schema);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user