Update main.py
Browse files
main.py
CHANGED
|
@@ -969,7 +969,7 @@ def speak_notes(notes_id):
|
|
| 969 |
'content-type': 'audio/mpeg',
|
| 970 |
'cache-control': '3600',
|
| 971 |
'upsert': 'true',
|
| 972 |
-
'owner': user.id
|
| 973 |
}
|
| 974 |
)
|
| 975 |
|
|
@@ -983,7 +983,7 @@ def speak_notes(notes_id):
|
|
| 983 |
update_res = supabase.table('notes') \
|
| 984 |
.update({'tts_audio_url': audio_url}) \
|
| 985 |
.eq('id', notes_id) \
|
| 986 |
-
.eq('user_id', user.id) \
|
| 987 |
.execute()
|
| 988 |
|
| 989 |
if update_res.error:
|
|
|
|
| 969 |
'content-type': 'audio/mpeg',
|
| 970 |
'cache-control': '3600',
|
| 971 |
'upsert': 'true',
|
| 972 |
+
'owner': user.id
|
| 973 |
}
|
| 974 |
)
|
| 975 |
|
|
|
|
| 983 |
update_res = supabase.table('notes') \
|
| 984 |
.update({'tts_audio_url': audio_url}) \
|
| 985 |
.eq('id', notes_id) \
|
| 986 |
+
.eq('user_id', user.id) \
|
| 987 |
.execute()
|
| 988 |
|
| 989 |
if update_res.error:
|