remove verify team access

This commit is contained in:
Alex Holliday committed 2026-01-15 18:33:03 +00:00
1 parent 75bcf9df58
commit 74a7f0a701
4 files changed
+8 -77

No files matched your search

@@ -96,9 +96,9 @@ class MongoMonitorsRepository implements IMonitorsRepository {
return count;
};
updateById = async (monitorId: string, patch: Partial<Monitor>) => {
updateById = async (monitorId: string, teamId: string, patch: Partial<Monitor>) => {
const updatedMonitor = await MonitorModel.findOneAndUpdate(
{ _id: monitorId },
{ _id: monitorId, teamId },
{
$set: {
...patch,