diff options
Diffstat (limited to 'api4')
-rw-r--r-- | api4/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |