mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Unsubscribe from package when a license is declined (cloud flow)
CURA-6984
This commit is contained in:
parent
0e5654e44b
commit
4e8534b93b
3 changed files with 14 additions and 2 deletions
|
@ -16,3 +16,8 @@ class CloudPackageManager:
|
|||
data=data.encode(),
|
||||
scope=self._scope
|
||||
)
|
||||
|
||||
def unsubscribe(self, package_id: str) -> None:
|
||||
url = CloudApiModel.userPackageUrl(package_id)
|
||||
self._request_manager.delete(url=url, scope=self._scope)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue