mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -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
|
@ -18,3 +18,11 @@ class CloudApiModel:
|
|||
cloud_api_root=cloud_api_root,
|
||||
cloud_api_version=cloud_api_version,
|
||||
)
|
||||
|
||||
## https://api.ultimaker.com/cura-packages/v1/user/packages/{package_id}
|
||||
@classmethod
|
||||
def userPackageUrl(cls, package_id: str) -> str:
|
||||
|
||||
return (CloudApiModel.api_url_user_packages + "/{package_id}").format(
|
||||
package_id=package_id
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue