diff options
Diffstat (limited to 'cmd/platform/channel.go')
-rw-r--r-- | cmd/platform/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/channel.go b/cmd/platform/channel.go index 550d0802e..cd8df0873 100644 --- a/cmd/platform/channel.go +++ b/cmd/platform/channel.go @@ -166,7 +166,7 @@ func removeUserFromChannel(channel *model.Channel, user *model.User, userArg str CommandPrintErrorln("Can't find user '" + userArg + "'") return } - if err := app.RemoveUserFromChannel(user.Id, "", channel, utils.GetSiteURL()); err != nil { + if err := app.RemoveUserFromChannel(user.Id, "", channel); err != nil { CommandPrintErrorln("Unable to remove '" + userArg + "' from " + channel.Name + ". Error: " + err.Error()) } } |