Change the App dependency with Server in migrations package (#14804)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Jesús Espino
2020-06-29 18:00:16 +02:00
коммит произвёл GitHub
родитель a9ba052207
Коммит e2e352e223
7 изменённых файлов: 26 добавлений и 26 удалений

Просмотреть файл

@@ -20,12 +20,12 @@ const (
)
type MigrationsJobInterfaceImpl struct {
App *app.App
srv *app.Server
}
func init() {
app.RegisterJobsMigrationsJobInterface(func(a *app.App) tjobs.MigrationsJobInterface {
return &MigrationsJobInterfaceImpl{a}
app.RegisterJobsMigrationsJobInterface(func(s *app.Server) tjobs.MigrationsJobInterface {
return &MigrationsJobInterfaceImpl{s}
})
}