Mbonea commited on
Commit
0d42d18
1 Parent(s): ff3b5ca
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.post("/user-transcriptions/add")
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: