Commit dd07d69e authored by Łukasz Nowak's avatar Łukasz Nowak

Follow the spec: return calculated hash.

parent aadda8cc
......@@ -42,7 +42,7 @@ def post():
app.logger.info(traceback.format_exc())
abort(500, "Faile to upload the file.")
return make_response('Success', 201)
return make_response(file_name, 201)
@app.route('/<key>', methods=['GET'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment