Skip to content

Commit ec37af2

Browse files
fix: Fixed missing redirect after installing runtime environment (#11243)
1 parent d2b030e commit ec37af2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

agent/app/dto/response/app.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type AppItem struct {
3939
Tags []string `json:"tags"`
4040
GpuSupport bool `json:"gpuSupport"`
4141
Recommend int `json:"recommend"`
42+
Type string `json:"type"`
4243
}
4344

4445
type TagDTO struct {

agent/app/service/app.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ func (a AppService) PageApp(ctx *gin.Context, req request.AppSearch) (*response.
125125
GpuSupport: ap.GpuSupport,
126126
Recommend: ap.Recommend,
127127
Description: ap.GetDescription(ctx),
128+
Type: ap.Type,
128129
}
129130
appDTOs = append(appDTOs, appDTO)
130131
tags, err := getAppTags(ap.ID, lang)

0 commit comments

Comments
 (0)