benjolo commited on
Commit
8fd32c3
1 Parent(s): 480569a

Update backend/mongodb/operations/calls.py

Browse files
backend/mongodb/operations/calls.py CHANGED
@@ -6,7 +6,7 @@ from ..models.calls import UpdateCall, UserCall, UserCaptions
6
 
7
  def list_calls(collection, limit: int):
8
  try:
9
- calls = collection.find(limit = limit))
10
  return calls
11
  except:
12
  raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"No existing call records yet.")
 
6
 
7
  def list_calls(collection, limit: int):
8
  try:
9
+ calls = collection.find(limit = limit)
10
  return calls
11
  except:
12
  raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f"No existing call records yet.")