Added response.ok
This commit is contained in:
pare
11eabafb62
commit
566f56ff41
S'han modificat 1 arxius amb 3 adicions i 1 eliminacions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Referencia en una nova incidència