Skip to content

Commit

Permalink
alternate string join
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Jun 7, 2023
1 parent a5541a9 commit bb1ad88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/sciencemesh/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (h *tokenHandler) init(c *config) error {
if c.ProviderDomain == "" {
return errors.New("provider_domain missing from configuration")
}
return h.initInviteLinkTemplate(defaultInviteLinkPrefix + c.ProviderDomain)
return h.initInviteLinkTemplate(strings.Join([]string{defaultInviteLinkPrefix, c.ProviderDomain}, ""))
}

type token struct {
Expand Down

0 comments on commit bb1ad88

Please sign in to comment.