From a8e68bd8905972ae59de90fa33d5b3e3c274dc47 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Fri, 10 Mar 2017 05:18:18 -0500 Subject: PLT-5765 Passed SiteURL to SendNotifications (#5705) --- cmd/platform/team.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/platform/team.go') diff --git a/cmd/platform/team.go b/cmd/platform/team.go index 1dc5d46eb..6dab2ad16 100644 --- a/cmd/platform/team.go +++ b/cmd/platform/team.go @@ -8,6 +8,7 @@ import ( "github.com/mattermost/platform/app" "github.com/mattermost/platform/model" + "github.com/mattermost/platform/utils" "github.com/spf13/cobra" ) @@ -154,7 +155,7 @@ func addUserToTeam(team *model.Team, user *model.User, userArg string) { CommandPrintErrorln("Can't find user '" + userArg + "'") return } - if err := app.JoinUserToTeam(team, user); err != nil { + if err := app.JoinUserToTeam(team, user, utils.GetSiteURL()); err != nil { CommandPrintErrorln("Unable to add '" + userArg + "' to " + team.Name) } } -- cgit v1.2.3-1-g7c22