From 1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 6 Jan 2017 09:10:21 -0500 Subject: Fix SiteURL in join team email (#4979) --- cmd/platform/oldcommands.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/platform/oldcommands.go') diff --git a/cmd/platform/oldcommands.go b/cmd/platform/oldcommands.go index 1cf898882..a599fa47e 100644 --- a/cmd/platform/oldcommands.go +++ b/cmd/platform/oldcommands.go @@ -319,7 +319,8 @@ func cmdInviteUser() { } invites := []string{flagEmail} - api.InviteMembers(team, user.GetDisplayName(), invites) + c := getMockContext() + api.InviteMembers(team, user.GetDisplayName(), invites, c.GetSiteURL()) os.Exit(0) } -- cgit v1.2.3-1-g7c22