瀏覽代碼

feat(go): update email template.

Vishal Dalwadi 10 月之前
父節點
當前提交
8be87ac6a4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pro/email/invite.go

+ 1 - 1
pro/email/invite.go

@@ -53,7 +53,7 @@ func (invite UserInvitedMail) GetBody(info Notification) string {
 			WithHtml(fmt.Sprintf("<li>Your Tenant ID: %s</li>", servercfg.GetNetmakerTenantID()))
 	} else {
 		content = content.
-			WithHtml(fmt.Sprintf("<li>Your Netmaker Domain: %s</li>", servercfg.GetFrontendURL()))
+			WithHtml(fmt.Sprintf("<li>Your Netmaker Domain: %s</li>", fmt.Sprintf("api.%s", servercfg.GetNmBaseDomain())))
 	}
 
 	return content.