Mbonea commited on
Commit
0624c61
·
1 Parent(s): ee482de
App/Transcription/TranscriptionRoutes.py CHANGED
@@ -26,8 +26,8 @@ async def create_file(
26
  ),
27
  ):
28
  user = await User.objects.filter(id=userId).first()
29
- if user != None:
30
- return {"code": 400, "message": "user exists", "payload": None}
31
 
32
  # Write the file to disk asynchronously
33
  try:
 
26
  ),
27
  ):
28
  user = await User.objects.filter(id=userId).first()
29
+ if user == None:
30
+ return {"code": 400, "message": "doesn't exist", "payload": None}
31
 
32
  # Write the file to disk asynchronously
33
  try: