forked from p15670423/monkey
Island: Remove comment in IslandMode resource
The HTTP response status codes seem reasonable.
This commit is contained in:
parent
6fa52d0637
commit
2b60b4ed81
|
@ -34,7 +34,6 @@ class IslandMode(AbstractResource):
|
||||||
return make_response({}, 200)
|
return make_response({}, 200)
|
||||||
except (AttributeError, json.decoder.JSONDecodeError):
|
except (AttributeError, json.decoder.JSONDecodeError):
|
||||||
return make_response({}, 400)
|
return make_response({}, 400)
|
||||||
# API Spec: Check if HTTP codes make sense
|
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return make_response({}, 422)
|
return make_response({}, 422)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue