Skip to content

Commit

Permalink
fixes noramlisation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Nov 22, 2023
1 parent 4bd69ba commit c59e122
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions supertokens/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c59e122

Please sign in to comment.