From 2fd3f9fb2b6fcaee2a579722cee91d13d5e87ecd Mon Sep 17 00:00:00 2001 From: "daniel.x.olsson@ri.se" Date: Mon, 2 Jan 2023 15:30:55 +0100 Subject: Added SSL verify option and fixed edit function --- phpipam_api/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpipam_api/resources.py') diff --git a/phpipam_api/resources.py b/phpipam_api/resources.py index 8f44c17..b8faef5 100755 --- a/phpipam_api/resources.py +++ b/phpipam_api/resources.py @@ -127,7 +127,7 @@ class PhpipamResource: def create(self, data): return self._backend.request('POST', f'/{self._type}/{object_id}', data=data) - def edit(self, data): + def edit(self, object_id, data): return self._backend.request('PATCH', f'/{self._type}/{object_id}', data=data) def delete(self, object_id): -- cgit v1.2.3