🚑 Fix friend deny
continuous-integration/drone/push Build is passing Details

master
Alix JEUDI--LEMOINE 2 months ago
parent 4b3661c9d6
commit 2eb2c0d3cc

@ -117,7 +117,7 @@ async def deny_friend(id: str, current_user: User = Depends(get_current_user)):
except bson.errors.InvalidId: except bson.errors.InvalidId:
objectid_misformatted() objectid_misformatted()
if result.matched_count == 0: friend_not_found() #if result.matched_count == 0: friend_not_found()
return {"message": "Friend request denied"} return {"message": "Friend request denied"}

Loading…
Cancel
Save