From b1250553d41cf42610d136ff969434ab49742722 Mon Sep 17 00:00:00 2001 From: pburrows-ns1 Date: Tue, 22 Aug 2023 10:18:22 +0100 Subject: [PATCH] notify_repeat is int not bool --- ns1/rest/monitoring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ns1/rest/monitoring.py b/ns1/rest/monitoring.py index 711f832..54a6b53 100644 --- a/ns1/rest/monitoring.py +++ b/ns1/rest/monitoring.py @@ -21,8 +21,8 @@ class Monitors(resource.BaseResource): "notify_delay", "notify_list", ] - INT_FIELDS = ["frequency"] - BOOL_FIELDS = ["active", "rapid_recheck", "notify_regional", "notify_repeat"] + INT_FIELDS = ["frequency", "notify_repeat"] + BOOL_FIELDS = ["active", "rapid_recheck", "notify_regional"] def list(self, callback=None, errback=None): return self._make_request(