diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-03-20 08:58:15 -0400 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-03-20 12:58:15 +0000 |
commit | f9be4d5acbc188a5fe21e6a6f5b96c4ad2b7bf08 (patch) | |
tree | 778f924a11aeec19409d747074092e29833dc93d /cmd/platform/channel.go | |
parent | 3d14573b8c4df6f293fdac9933aa270b541234ec (diff) | |
download | chat-f9be4d5acbc188a5fe21e6a6f5b96c4ad2b7bf08.tar.gz chat-f9be4d5acbc188a5fe21e6a6f5b96c4ad2b7bf08.tar.bz2 chat-f9be4d5acbc188a5fe21e6a6f5b96c4ad2b7bf08.zip |
Removing old CLI (#5797)
Diffstat (limited to 'cmd/platform/channel.go')
-rw-r--r-- | cmd/platform/channel.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/platform/channel.go b/cmd/platform/channel.go index 2510f90f3..550d0802e 100644 --- a/cmd/platform/channel.go +++ b/cmd/platform/channel.go @@ -120,8 +120,6 @@ func createChannelCmdF(cmd *cobra.Command, args []string) error { return errors.New("Unable to find team: " + teamArg) } - c := getMockContext() - channel := &model.Channel{ TeamId: team.Id, Name: name, @@ -129,7 +127,7 @@ func createChannelCmdF(cmd *cobra.Command, args []string) error { Header: header, Purpose: purpose, Type: channelType, - CreatorId: c.Session.UserId, + CreatorId: "", } if _, err := app.CreateChannel(channel, false); err != nil { |