Skip to content

Commit 0a33da2

Browse files
fix: renamed issue-atachments to attachments
1 parent 5e2678f commit 0a33da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/api/plane/api/urls/work_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@
132132
name="work-item-activity-detail",
133133
),
134134
path(
135-
"workspaces/<str:slug>/projects/<uuid:project_id>/work-items/<uuid:issue_id>/issue-attachments/",
135+
"workspaces/<str:slug>/projects/<uuid:project_id>/work-items/<uuid:issue_id>/attachments/",
136136
IssueAttachmentListCreateAPIEndpoint.as_view(http_method_names=["get", "post"]),
137137
name="work-item-attachment-list",
138138
),
139139
path(
140-
"workspaces/<str:slug>/projects/<uuid:project_id>/work-items/<uuid:issue_id>/issue-attachments/<uuid:pk>/",
140+
"workspaces/<str:slug>/projects/<uuid:project_id>/work-items/<uuid:issue_id>/attachments/<uuid:pk>/",
141141
IssueAttachmentDetailAPIEndpoint.as_view(http_method_names=["get", "patch", "delete"]),
142142
name="work-item-attachment-detail",
143143
),

0 commit comments

Comments
 (0)