fix(BRIDGE-291): use correct field for user plan type

This commit is contained in:
Atanas Janeshliev
2024-12-23 13:34:45 +01:00
parent 74a990c69a
commit 0641c63377

View File

@ -183,7 +183,7 @@ func newImpl(
if organizationData, err := client.GetOrganizationData(ctx); err != nil {
logrus.WithError(err).Info("Failed to obtain user organization data")
} else {
userPlan = organizationData.Organization.Name
userPlan = organizationData.Organization.PlanName
}
// Get the user's API labels.