summaryrefslogtreecommitdiffstats
path: root/api4/channel.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/channel.go')
-rw-r--r--api4/channel.go2
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 {