Skip to content

Commit

Permalink
fix: cast table max upload size to int (pinterest#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchandnaeg authored and aidenprice committed Jan 3, 2024
1 parent f54d380 commit 7c4d876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion querybook/server/app/flask_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def make_flask_app():
)

if QuerybookSettings.TABLE_MAX_UPLOAD_SIZE is not None:
app.config["MAX_CONTENT_LENGTH"] = QuerybookSettings.TABLE_MAX_UPLOAD_SIZE
app.config["MAX_CONTENT_LENGTH"] = int(QuerybookSettings.TABLE_MAX_UPLOAD_SIZE)

return app

Expand Down

0 comments on commit 7c4d876

Please sign in to comment.