Skip to content

Commit

Permalink
minor: resolve #1690 conversations
Browse files Browse the repository at this point in the history
  • Loading branch information
narasux committed May 8, 2024
1 parent 6ecdf24 commit 6a29a0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bk-user/bkuser/apis/web/collaboration/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# 更新协同策略状态(分享方)
path(
"to-strategies/<str:id>/source-status/",
views.CollaborationStrategySourceStatusUpdateApi.as_view(),
views.CollaborationToStrategySourceStatusUpdateApi.as_view(),
name="collaboration.to-strategy.source-status.update",
),
# ----------------------------- 接受方 -----------------------------
Expand Down Expand Up @@ -60,7 +60,7 @@
# 更新协同策略状态(接受方)
path(
"from-strategies/<str:id>/target-status/",
views.CollaborationStrategyTargetStatusUpdateApi.as_view(),
views.CollaborationFromStrategyTargetStatusUpdateApi.as_view(),
name="collaboration.from-strategy.target-status.update",
),
# 协同数据更新记录
Expand Down
4 changes: 2 additions & 2 deletions src/bk-user/bkuser/apis/web/collaboration/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def delete(self, request, *args, **kwargs):
return Response(status=status.HTTP_204_NO_CONTENT)


class CollaborationStrategySourceStatusUpdateApi(
class CollaborationToStrategySourceStatusUpdateApi(
CurrentUserTenantMixin, ExcludePatchAPIViewMixin, generics.UpdateAPIView
):
"""协同策略更新状态(分享方)"""
Expand Down Expand Up @@ -339,7 +339,7 @@ def put(self, request, *args, **kwargs):
return Response(status=status.HTTP_204_NO_CONTENT)


class CollaborationStrategyTargetStatusUpdateApi(
class CollaborationFromStrategyTargetStatusUpdateApi(
CurrentUserTenantMixin, ExcludePatchAPIViewMixin, generics.UpdateAPIView
):
"""协同策略更新状态(接受方)"""
Expand Down

0 comments on commit 6a29a0e

Please sign in to comment.