File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -928,7 +928,7 @@ def process_user_feedback_input_request(request_data, session):
928928async def record_run (
929929 request : Request ,
930930 user_has_access : bool = Depends (has_access ),
931- user_id : str = "43" ,
931+ user_id : str = Depends ( get_user_id ) ,
932932 session : Session = Depends (get_session )
933933):
934934 if not user_has_access :
@@ -953,12 +953,11 @@ async def record_run(
953953
954954 table_id = error_msg
955955
956- success , internal_id = get_internal_user_id (user_id , session )
957-
958956 return JSONResponse (content = {
959957 "success" : "Successfully processed the run" ,
960- "internal_id" : str (internal_id ),
961- "table_id" : str (table_id )
958+ "data" : {
959+ "table_id" : str (table_id )
960+ }
962961 })
963962
964963@app .get ("/health" )
You can’t perform that action at this time.
0 commit comments