Added response.ok

This commit is contained in:
spla 2023-01-01 15:39:21 +01:00
parent 11eabafb62
commit 566f56ff41
1 changed files with 3 additions and 1 deletions

View File

@ -61,9 +61,11 @@ class Forgejo:
response = self.__api_request('POST', endpoint, data)
registered = response.ok
response = self.__json_allow_dict_attrs(response.json())
return response
return (registered, response)
def admin_users_list(self, page=None, limit=None):