Skip to content
Snippets Groups Projects
Commit d59d6361 authored by Jan-Oliver Opdenhövel's avatar Jan-Oliver Opdenhövel
Browse files

Not memoizing downloads

parent 755ed565
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -166,7 +166,6 @@ def upload_document():
@bp.route("/download", methods=["GET"], strict_slashes=False)
@cache.memoize()
def download_document():
document_id = request.args.get("id", default=None)
document = Document.query.get_or_404(document_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment