create and update

This commit is contained in:
Alex Holliday committed 2026-01-13 20:20:00 +00:00
1 parent 117a2e00c4
commit d0b3bc60df
10 files changed
+384 -186

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ class MonitorController {
const userId = req?.user?._id;
const teamId = req?.user?.teamId;
const monitor = await this.monitorService.createMonitor({ teamId, userId, body: req.body });
const monitor = await this.monitorService.createMonitor(teamId, userId, req.body);
return res.status(200).json({
success: true,