File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -921,7 +921,7 @@ def process_user_feedback_input_request(request_data, session):
921921 if not success :
922922 return success , err_msg
923923
924- return True , None
924+ return True , request_additional_data [ "internal_run_id" ]
925925
926926# Opentially take in user id
927927@app .post ("/record_run" )
@@ -951,11 +951,14 @@ async def record_run(
951951 print ("Returning error message" , error_msg )
952952 raise HTTPException (status_code = 400 , detail = error_msg )
953953
954+ table_id = error_msg
955+
954956 success , internal_id = get_internal_user_id (user_id , session )
955957
956958 return JSONResponse (content = {
957959 "success" : "Successfully processed the run" ,
958- "internal_id" : str (internal_id )
960+ "internal_id" : str (internal_id ),
961+ "table_id" : str (table_id )
959962 })
960963
961964@app .get ("/health" )
You can’t perform that action at this time.
0 commit comments