diff --git a/backend/app/service/app_install.go b/backend/app/service/app_install.go index cde3c1832..5b6da095e 100644 --- a/backend/app/service/app_install.go +++ b/backend/app/service/app_install.go @@ -46,12 +46,12 @@ func (a AppInstallService) CheckExist(key string) (*dto.CheckInstalled, error) { if err != nil { return res, nil } + res.App = app.Name appInstall, _ := appInstallRepo.GetFirst(appInstallRepo.WithAppId(app.ID)) if reflect.DeepEqual(appInstall, model.AppInstall{}) { return res, nil } res.Name = appInstall.Name - res.App = app.Name res.Version = appInstall.Version res.CreatedAt = appInstall.CreatedAt res.Status = appInstall.Status