MM-21898 - Part 1: Generate and use an interface instead of *A… (#13840)
* Generate and use an interface instead of *App
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
66fc096768
Коммит
17523fa5d9
@@ -257,7 +257,7 @@ func listCommandCmdF(command *cobra.Command, args []string) error {
|
||||
CommandPrintErrorln("Unable to find team '" + args[i] + "'")
|
||||
continue
|
||||
}
|
||||
commands, err := a.Srv.Store.Command().GetByTeam(team.Id)
|
||||
commands, err := a.Srv().Store.Command().GetByTeam(team.Id)
|
||||
if err != nil {
|
||||
CommandPrintErrorln("Unable to list commands for '" + args[i] + "'")
|
||||
continue
|
||||
|
||||
Ссылка в новой задаче
Block a user