remove verify team access
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user