You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@app.route('/api/job-experience', methods=['GET'])
def get_job_experience():
user_id = get_user_id()
print(f"User ID: {user_id}") # Print user ID for each action
if not user_id:
return jsonify({'error': 'Unauthorized'}), 401
# Retrieve all job experiences from the 'job_experiences' table in Supabase for the authenticated user
response = supabase.table('job_experiences').select("*").eq('user_id', user_id).execute()
job_experiences = response.data
return jsonify({'jobExperiences': job_experiences}), 200
Problem Statement
I have the following code snippet:
But my trace does not have any db spans
Solution Brainstorm
.
The text was updated successfully, but these errors were encountered: