Skip to content

Commit

Permalink
added get_json()
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Sep 11, 2023
1 parent a53a544 commit be3d581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ai_ta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ def logToNomic():
print("course_name: ", course_name)
print("conversation: ", conversation)

print(request.get_json())

if course_name == '' or conversation == '':
# proper web error "400 Bad request"
abort(
Expand Down

0 comments on commit be3d581

Please sign in to comment.