diff --git a/catalystwan/api/administration.py b/catalystwan/api/administration.py index 3c1558e7..46d12cc1 100644 --- a/catalystwan/api/administration.py +++ b/catalystwan/api/administration.py @@ -392,7 +392,7 @@ def update(self, payload: ThreadGridApi) -> bool: def update(self, payload: Union[Organization, Certificate, Password, Vbond, ThreadGridApi]) -> bool: if isinstance(payload, ThreadGridApi): dataseq = self.__update_thread_grid_api(payload) - return True + return len(dataseq) == 1 json_payload = asdict(payload) # type: ignore if isinstance(payload, Organization): response = self.__update_organization(json_payload)