From ded032d93ed9d03adedbad7e46675388086dfc49 Mon Sep 17 00:00:00 2001 From: "lalitdeore12@gmail.com" Date: Wed, 8 Oct 2025 18:06:25 +0530 Subject: [PATCH] Fix - branding isues --- backend/go-app/main.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/backend/go-app/main.go b/backend/go-app/main.go index 6845056e..7dc3016e 100755 --- a/backend/go-app/main.go +++ b/backend/go-app/main.go @@ -1138,7 +1138,8 @@ func handleInfo(resp http.ResponseWriter, request *http.Request) { // Check for licensing/branding of parent and override parentOrg, err := shuffle.GetOrg(ctx, parentOrgId) if err == nil { - if parentOrg.LeadInfo.IntegrationPartner { + parent := shuffle.HandleCheckLicense(ctx, *parentOrg) + if parentOrg.LeadInfo.IntegrationPartner || parent.SyncFeatures.Branding.Active { parsedStatus = append(parsedStatus, "integration_partner") // except theme take from parent org @@ -1180,7 +1181,9 @@ func handleInfo(resp http.ResponseWriter, request *http.Request) { } } else { // for parent org branding - if org.LeadInfo.IntegrationPartner { + licenseOrg := shuffle.HandleCheckLicense(ctx, *org) + org = &licenseOrg + if org.LeadInfo.IntegrationPartner || org.SyncFeatures.Branding.Active { userInfo.ActiveOrg.Branding.Theme = org.Branding.Theme userInfo.ActiveOrg.Branding.DocumentationLink = org.Defaults.DocumentationReference userInfo.ActiveOrg.Branding.SupportEmail = org.Branding.SupportEmail