From dcdea9b54c14329e47a0cb7c6dffb9da765b35c6 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 20 Mar 2017 10:12:43 -0400 Subject: Fix compile error on master (#5813) --- api4/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4/channel.go') diff --git a/api4/channel.go b/api4/channel.go index 61d9e6f53..a4820d729 100644 --- a/api4/channel.go +++ b/api4/channel.go @@ -535,7 +535,7 @@ func addChannelMember(c *Context, w http.ResponseWriter, r *http.Request) { return } - if cm, err := app.AddChannelMember(member.UserId, channel, c.Session.UserId); err != nil { + if cm, err := app.AddChannelMember(member.UserId, channel, c.Session.UserId, c.GetSiteURL()); err != nil { c.Err = err return } else { -- cgit v1.2.3-1-g7c22