Fix dependency issues

We haven't bumped the test version for a while.
Also bumped the version of Flask and itsdangerous.
In order to fix flask warnings I needed to changed how the blueprints were registerd.
This commit is contained in:
Rebecca Law
2021-05-27 13:02:24 +01:00
parent f66f0a2e2d
commit 50de85988e
6 changed files with 40 additions and 60 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ def get_pdf_for_notification(notification_id):
except Exception:
raise PDFNotReadyError()
return send_file(filename_or_fp=BytesIO(pdf_data), mimetype='application/pdf')
return send_file(path_or_file=BytesIO(pdf_data), mimetype='application/pdf')
@v2_notification_blueprint.route("", methods=['GET'])