diff options
author | Chris <ccbrown112@gmail.com> | 2017-10-30 11:57:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 11:57:24 -0500 |
commit | c5e8cb25caa39ed018ede5270e1566e8f7448396 (patch) | |
tree | 80f9f8957d4ff8458ecf9631135c916df25544bd /cmd/platform | |
parent | 63df41b91110bac06baffef87fe0c1952b47ac93 (diff) | |
download | chat-c5e8cb25caa39ed018ede5270e1566e8f7448396.tar.gz chat-c5e8cb25caa39ed018ede5270e1566e8f7448396.tar.bz2 chat-c5e8cb25caa39ed018ede5270e1566e8f7448396.zip |
simplify things (#7735)
Diffstat (limited to 'cmd/platform')
-rw-r--r-- | cmd/platform/command.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/platform/command.go b/cmd/platform/command.go index 245fb7912..bbc5b47da 100644 --- a/cmd/platform/command.go +++ b/cmd/platform/command.go @@ -61,9 +61,5 @@ func moveCommandCmdF(cmd *cobra.Command, args []string) error { } func moveCommand(a *app.App, team *model.Team, command *model.Command) *model.AppError { - if err := a.MoveCommand(team, command); err != nil { - return err - } - - return nil + return a.MoveCommand(team, command) } |