Skip to content

Commit 5e9a450

Browse files
rashmi-rathidmgarland
authored andcommitted
Fix url
1 parent b9ea1ac commit 5e9a450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bitbucket_rest_api/issues/components.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ def delete(user_name, repo_name, component_id, params={})
9999
_validate_presence_of component_id
100100
normalize! params
101101

102-
delete_request("/1.0/repositories/#{user}/#{repo.downcase}/labels/components/#{component_id}", params)
102+
delete_request("/1.0/repositories/#{user}/#{repo.downcase}/issues/components/#{component_id}", params)
103103
end
104104

105105
end # Issues::Components
106-
end # BitBucket
106+
end # BitBucket

0 commit comments

Comments
 (0)