mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Include all subscription information in the slice data
CURA-7717
This commit is contained in:
parent
095e34fe8d
commit
1521430d42
3 changed files with 6 additions and 24 deletions
|
@ -125,8 +125,8 @@ class SliceInfo(QObject, Extension):
|
|||
data["schema_version"] = 0
|
||||
data["cura_version"] = self._application.getVersion()
|
||||
data["cura_build_type"] = ApplicationMetadata.CuraBuildType
|
||||
data["enterprise_plan"] = user_profile.get("enterprise_plan", "") if user_profile else ""
|
||||
data["organization_id"] = user_profile.get("organization_id", "") if user_profile else ""
|
||||
data["subscriptions"] = user_profile.get("subscriptions", []) if user_profile else []
|
||||
|
||||
active_mode = self._application.getPreferences().getValue("cura/active_mode")
|
||||
if active_mode == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue