Skip to content

Commit

Permalink
removed jsonify(response)
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Sep 11, 2023
1 parent f60e876 commit b8cc471
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ai_ta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,10 @@ def logToNomic():

# background execution of tasks!!
response = executor.submit(log_convo_to_nomic, course_name, data)
response = jsonify(response)
response.headers.add('Access-Control-Allow-Origin', '*')
return response
#response = jsonify(response)
#response.headers.add('Access-Control-Allow-Origin', '*')
print(response)
return "response"


if __name__ == '__main__':
Expand Down

0 comments on commit b8cc471

Please sign in to comment.