From 2c7b5feffd8b8eeefb683df7c015d8199516612e Mon Sep 17 00:00:00 2001 From: Sandro Modarelli Date: Tue, 31 Mar 2020 09:51:38 +0200 Subject: [PATCH] method name changed due to naming collision with site attribute "monitoring" (#45) --- pystackpath/stacks/wafsites/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystackpath/stacks/wafsites/__init__.py b/pystackpath/stacks/wafsites/__init__.py index dd574fb..04fa707 100644 --- a/pystackpath/stacks/wafsites/__init__.py +++ b/pystackpath/stacks/wafsites/__init__.py @@ -23,5 +23,5 @@ def api_login_urls(self): def api_urls(self): return ApiUrls(self._client, f"{self._base_api}/sites/{self.id}") - def monitoring(self): + def set_monitoring(self): return Monitoring(self._client, f"{self._base_api}/sites/{self.id}")