Closed JermellB closed 6 years ago
https://github.com/gophish/api-client-python/blob/ad4229c9c753be38caa69a5346aeb869bd42ab8e/gophish/api/api.py#L97
if not respose.ok should be if not response.ok:
if not respose.ok
if not response.ok:
Sorry for the late reply to this! Great catch. I've merged #11 which addresses this. I'll get a new version pushed to PyPi ASAP.
https://github.com/gophish/api-client-python/blob/ad4229c9c753be38caa69a5346aeb869bd42ab8e/gophish/api/api.py#L97
if not respose.ok
should beif not response.ok: