mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
fix(BRIDGE-291): use correct field for user plan type
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user