Add teamID to maintenance-window

This commit is contained in:
Alex Holliday committed 2024-10-04 12:31:44 +08:00
1 parent 47e051c2bb
commit 8e87bdccd0
3 files changed
+9 -5

No files matched your search

+2 -2
View File
@@ -34,9 +34,9 @@ const MaintenanceWindow = mongoose.Schema(
ref: "Monitor",
immutable: true,
},
userId: {
teamId: {
type: mongoose.Schema.Types.ObjectId,
ref: "User",
ref: "Team",
immutable: true,
},
active: {