Skip to content

Commit

Permalink
Revert PR #52. Didn't work yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas committed Sep 4, 2022
1 parent 882fadd commit 51a82d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions netbox/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ def get(self, param, key=None, limit=0, **kwargs):

resp_data = self.__request('GET', params=param, key=key, url=url)

if resp_data.get('results', None):
return resp_data['results']
else:
return resp_data
return resp_data['results']

def put(self, params):

Expand Down

0 comments on commit 51a82d1

Please sign in to comment.