diff --git a/django_project_base/rest/project.py b/django_project_base/rest/project.py index 317b50db..5f94eb9d 100644 --- a/django_project_base/rest/project.py +++ b/django_project_base/rest/project.py @@ -116,7 +116,7 @@ def get_current_project(self, request: Request, **kwargs) -> Response: status.HTTP_403_FORBIDDEN: OpenApiResponse(description="Not allowed"), }, ) - @get_current_project.mapping.post + @get_current_project.mapping.put def update_current_profile(self, request: Request, **kwargs) -> Response: try: serializer = self.get_serializer(request.selected_project, data=request.data, many=False)