diff --git a/django_project_base/account/rest/profile.py b/django_project_base/account/rest/profile.py index ba3af1ad..c5ef7c0b 100644 --- a/django_project_base/account/rest/profile.py +++ b/django_project_base/account/rest/profile.py @@ -431,7 +431,7 @@ def get_current_profile(self, request: Request, **kwargs) -> Response: status.HTTP_403_FORBIDDEN: OpenApiResponse(description="Not allowed"), }, ) - @get_current_profile.mapping.post + @get_current_profile.mapping.put def update_current_profile(self, request: Request, **kwargs) -> Response: user: Model = request.user new_email = request.data.pop("email", None)