🏷️ Changed HTTP verb of friend deny
continuous-integration/drone/push Build is passing Details

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

@ -107,7 +107,7 @@ async def accept_friend(id: str, current_user: User = Depends(get_current_user))
return {"message": "Friend request accepted"} return {"message": "Friend request accepted"}
@friends_router.post( @friends_router.delete(
path="/{id}/deny", path="/{id}/deny",
responses={401: {"model": HTTPError}, 404: {"model": HTTPError}, 422: {"model": HTTPError}} responses={401: {"model": HTTPError}, 404: {"model": HTTPError}, 422: {"model": HTTPError}}
) )

Loading…
Cancel
Save