Bump Flask and itsdangerous

This bumps Flask to version 2.1.0, which requires some minor changes to
the app code and itsdangerous to also be bumped.
This commit is contained in:
Katie Smith
2022-04-05 17:06:08 +01:00
parent 9902ddfc22
commit badd0e0894
5 changed files with 32 additions and 44 deletions

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'])