forked from platformio/platformio-core
Use updated registry API
This commit is contained in:
@@ -69,7 +69,7 @@ class RegistryClient(RESTClient):
|
|||||||
)
|
)
|
||||||
path = "/v3/packages/%s/%s/%s" % (owner, type, name)
|
path = "/v3/packages/%s/%s/%s" % (owner, type, name)
|
||||||
if version:
|
if version:
|
||||||
path = path + "/version/" + version
|
path += "/" + version
|
||||||
response = self.send_auth_request(
|
response = self.send_auth_request(
|
||||||
"delete", path, params={"undo": 1 if undo else 0},
|
"delete", path, params={"undo": 1 if undo else 0},
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user