From fa965af248f59fc30f49d700a769f58a344bd733 Mon Sep 17 00:00:00 2001 From: nityanandagohain Date: Tue, 3 Jun 2025 23:57:01 +0530 Subject: [PATCH] fix: use replaceall --- pkg/types/domain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/types/domain.go b/pkg/types/domain.go index 0ac7a4faa8..31315e9cc3 100644 --- a/pkg/types/domain.go +++ b/pkg/types/domain.go @@ -103,7 +103,7 @@ func (od *GettableOrgDomain) GetSAMLIdpURL() string { func (od *GettableOrgDomain) GetSAMLCert() string { if od.SamlConfig != nil { // remove any whitespaces from the cert - cert := strings.TrimSpace(od.SamlConfig.SamlCert) + cert := strings.ReplaceAll(od.SamlConfig.SamlCert, " ", "") return cert } return ""