Skip to content

Commit

Permalink
Fix updating current project
Browse files Browse the repository at this point in the history
  • Loading branch information
adamPrestor committed Oct 17, 2023
1 parent 195faaf commit bd5b165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_project_base/rest/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd5b165

Please sign in to comment.