rairo commited on
Commit
c50ab3f
·
verified ·
1 Parent(s): 64dea34

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -666,7 +666,7 @@ def get_note_by_id(note_id):
666
  note_res = supabase.table('notes') \
667
  .select('id, content, created_at, tts_audio_url, study_materials(title, type, source_ref)') \
668
  .eq('id', note_id) \
669
- .eq('user_id', user.id) \
670
  .maybe_single() \
671
  .execute()
672
 
 
666
  note_res = supabase.table('notes') \
667
  .select('id, content, created_at, tts_audio_url, study_materials(title, type, source_ref)') \
668
  .eq('id', note_id) \
669
+ .eq('user_id', user.id) \
670
  .maybe_single() \
671
  .execute()
672