feat: Adding load-templates endpoint

This commit is contained in:
Josepablo Cruz
2026-03-30 19:58:00 -06:00
parent 30cd506862
commit 4310d3a0c3
5 changed files with 181 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ const pointSchema = new Schema({
const schema = new Schema({
company: { type: Schema.Types.ObjectId, ref: 'companies', required: true },
template_name : { type: String },
alert_list: [{ type: String, lowercase: true }],