From c59e122991a9d82d1800ed435f5c35faffde0f23 Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Wed, 22 Nov 2023 20:16:20 +0530 Subject: [PATCH] fixes noramlisation bug --- supertokens/utils.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/supertokens/utils.go b/supertokens/utils.go index ef9bf330..059b6150 100644 --- a/supertokens/utils.go +++ b/supertokens/utils.go @@ -76,9 +76,7 @@ func NormaliseInputAppInfoOrThrowError(appInfo AppInfo) (NormalisedAppinfo, erro origin = originResult } - return NormalisedURLDomain{ - value: origin, - }, nil + return NewNormalisedURLDomain(origin) } apiDomain, err := NewNormalisedURLDomain(appInfo.APIDomain)