Include all subscription information in the slice data

CURA-7717
This commit is contained in:
Kostas Karmas 2020-10-14 11:43:22 +02:00
parent 095e34fe8d
commit 1521430d42
3 changed files with 6 additions and 24 deletions

View file

@ -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: