add alert routes
This commit is contained in:
@@ -23,6 +23,7 @@ import { viewSchemas } from "./view/view.schema";
|
||||
import { processedSchemas } from "./processed/processed.schema";
|
||||
import { cTaskSchemas } from "./ctask/ctask.schema";
|
||||
import { paymentSchemas } from "./payments/payment.schema";
|
||||
import { alertSchemas } from "./alert/alert.schema";
|
||||
|
||||
const app = fastify({ logger: true, trustProxy: true });
|
||||
|
||||
@@ -59,6 +60,7 @@ for (const schema of [
|
||||
...viewSchemas,
|
||||
...processedSchemas,
|
||||
...paymentSchemas,
|
||||
...alertSchemas,
|
||||
]) {
|
||||
app.addSchema(schema);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user