From 841aef34f507cb75a10dd76c569326dae8483ea7 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Wed, 26 Aug 2015 15:02:34 -0700 Subject: Added links to the teams listed in the 'Find your teams' email --- api/team.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/team.go') diff --git a/api/team.go b/api/team.go index a331e9e34..8587a6de4 100644 --- a/api/team.go +++ b/api/team.go @@ -283,10 +283,10 @@ func emailTeams(c *Context, w http.ResponseWriter, r *http.Request) { } else { teams := result.Data.([]*model.Team) - // the template expects Props to be a map with team names as the keys + // the template expects Props to be a map with team names as the keys and the team url as the value props := make(map[string]string) for _, team := range teams { - props[team.Name] = team.Name + props[team.Name] = c.GetTeamURLFromTeam(team) } bodyPage.Props = props -- cgit v1.2.3-1-g7c22