From f5139d41c2b9eda687ff0ad523918b42569c1ca4 Mon Sep 17 00:00:00 2001 From: cmyui Date: Thu, 8 Aug 2024 06:03:45 +0200 Subject: [PATCH] Edit API --- app/api/public/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/public/users.py b/app/api/public/users.py index 859065d..7b3358c 100644 --- a/app/api/public/users.py +++ b/app/api/public/users.py @@ -123,7 +123,7 @@ class EmailAddressUpdate(BaseModel): new_email_address: str -@router.put("/public/api/v1/users/{user_id}/email") +@router.put("/public/api/v1/users/{user_id}/email-address") async def update_email_address( user_id: int, args: EmailAddressUpdate,