Island: Simplify propagation credentials get return

This commit is contained in:
vakarisz 2022-07-12 13:13:49 +03:00
parent 43387dc1a5
commit f1e00dd3ee
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class PropagationCredentials(AbstractResource):
else: else:
return {}, HTTPStatus.NOT_FOUND return {}, HTTPStatus.NOT_FOUND
return make_response(Credentials.to_json_array(propagation_credentials), HTTPStatus.OK) return propagation_credentials, HTTPStatus.OK
def post(self, collection=None): def post(self, collection=None):
credentials = [Credentials.from_json(c) for c in request.json] credentials = [Credentials.from_json(c) for c in request.json]