add route, controller, and db method for getting all status pages by ID

This commit is contained in:
Alex Holliday committed 2025-02-10 13:41:21 -08:00
1 parent f78343d03f
commit 48cfeb1558
6 files changed
+64 -9

No files matched your search

+6
View File
@@ -14,6 +14,12 @@ const StatusPageSchema = mongoose.Schema(
immutable: true,
required: true,
},
type: {
type: String,
required: true,
default: "uptime",
enum: ["uptime", "distributed"],
},
companyName: {
type: String,
required: true,