minor fix
Browse files
App/UserTranscriptions/UserTranscriptionsRoutes.py
CHANGED
@@ -15,7 +15,7 @@ async def add_transcriptions(transcriptionTask: BaseRequest):
|
|
15 |
return {"code": 200, "message": "success", "payload": created_task.__dict__}
|
16 |
|
17 |
|
18 |
-
@user_transcriptions_router.
|
19 |
async def get_transcriptions(user: GetTranscriptions):
|
20 |
transcriptions = await UserTranscriptions.objects.filter(user=user.userId).all()
|
21 |
if transcriptions == None:
|
|
|
15 |
return {"code": 200, "message": "success", "payload": created_task.__dict__}
|
16 |
|
17 |
|
18 |
+
@user_transcriptions_router.get("/user-transcriptions/all")
|
19 |
async def get_transcriptions(user: GetTranscriptions):
|
20 |
transcriptions = await UserTranscriptions.objects.filter(user=user.userId).all()
|
21 |
if transcriptions == None:
|