summaryrefslogtreecommitdiffstats
path: root/api4
diff options
context:
space:
mode:
Diffstat (limited to 'api4')
-rw-r--r--api4/channel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/channel.go b/api4/channel.go
index c8235c5f1..493b012a0 100644
--- a/api4/channel.go
+++ b/api4/channel.go
@@ -170,7 +170,7 @@ func patchChannel(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- if rchannel, err := app.PatchChannel(oldChannel, patch); err != nil {
+ if rchannel, err := app.PatchChannel(oldChannel, patch, c.Session.UserId); err != nil {
c.Err = err
return
} else {