diff options
Diffstat (limited to 'phpipam_api')
-rwxr-xr-x | phpipam_api/resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpipam_api/resources.py b/phpipam_api/resources.py index b8faef5..7d79166 100755 --- a/phpipam_api/resources.py +++ b/phpipam_api/resources.py @@ -124,7 +124,7 @@ class PhpipamResource: """object identified by object_id : str""" return self._backend.request('GET', f'/{self._type}/{object_id}') - def create(self, data): + def create(self, object_id, data): return self._backend.request('POST', f'/{self._type}/{object_id}', data=data) def edit(self, object_id, data): |