diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-01-06 09:10:21 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-01-06 09:10:21 -0500 |
commit | 1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1 (patch) | |
tree | 258f05cb63d7d38d999cb42ca86dd43a55250bfd /cmd/platform/oldcommands.go | |
parent | 657d4101f9a5e04edcbab2d84d6467c18aa395bf (diff) | |
download | chat-1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1.tar.gz chat-1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1.tar.bz2 chat-1ddac9ccf9bf2417cd0b34017fff4d28927eb7c1.zip |
Fix SiteURL in join team email (#4979)
Diffstat (limited to 'cmd/platform/oldcommands.go')
-rw-r--r-- | cmd/platform/oldcommands.go | 3 |
1 files changed, 2 insertions, 1 deletions
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) } |