Skip to content
This repository was archived by the owner on Dec 29, 2023. It is now read-only.

Commit 63e2254

Browse files
authored
Proposed fix for #7
1 parent 34a8a96 commit 63e2254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def clickhouse():
6464
@app.route('/', methods=["POST"])
6565
@auth.login_required
6666
def play():
67-
query = request.data or None
67+
query = request.get_data() or None
6868
format = request.args.get('default_format', default="TSV", type=str)
6969
database = request.args.get('database', default="", type=str)
7070
if not query:

0 commit comments

Comments
 (0)