Add teamID to monitor on creation
This commit is contained in:
1 parent
a02f547b2c
commit
e658b4759a
3 files changed
+4
-1
No files matched your search
@@ -180,6 +180,7 @@ const getMonitorsByUserIdQueryValidation = joi.object({
|
||||
const createMonitorBodyValidation = joi.object({
|
||||
_id: joi.string(),
|
||||
userId: joi.string().required(),
|
||||
teamId: joi.string().required(),
|
||||
name: joi.string().required(),
|
||||
description: joi.string().required(),
|
||||
type: joi.string().required(),
|
||||
|
||||
Reference in new issue
Block a user