done
Browse files
App/Transcription/TranscriptionRoutes.py
CHANGED
@@ -72,7 +72,9 @@ async def get_user_transcriptions(
|
|
72 |
user: UserSchema = Depends(get_token_owner),
|
73 |
):
|
74 |
transcriptions = await Transcriptions.objects.filter(user=user.id).all()
|
75 |
-
objects = [
|
|
|
|
|
76 |
return objects
|
77 |
|
78 |
|
|
|
72 |
user: UserSchema = Depends(get_token_owner),
|
73 |
):
|
74 |
transcriptions = await Transcriptions.objects.filter(user=user.id).all()
|
75 |
+
objects = [
|
76 |
+
BaseTranscription(**obj.__dict__) for obj in transcriptions if obj != None
|
77 |
+
]
|
78 |
return objects
|
79 |
|
80 |
|