hack to have impure notifications

This commit is contained in:
Luj 2025-01-18 00:13:09 +01:00
parent caf3169829
commit 78564e5f2c

View file

@ -159,7 +159,6 @@ class Monitor(Item):
if self.id is None: if self.id is None:
rslt = self.api.add_monitor( rslt = self.api.add_monitor(
name=self.name, name=self.name,
notificationIDList=[i.id for i in self.notifications],
**self.kwargs, **self.kwargs,
) )
self.id = rslt["monitorID"] self.id = rslt["monitorID"]
@ -169,7 +168,6 @@ class Monitor(Item):
rslt = self.api.edit_monitor( rslt = self.api.edit_monitor(
self.id, self.id,
name=self.name, name=self.name,
notificationIDList=[i.id for i in self.notifications],
**self.kwargs, **self.kwargs,
) )
current_tags = set( current_tags = set(