mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
simplify things (#7735)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user