Skip to content

Commit e87ab05

Browse files
cennis91earl-warren
authored andcommitted
[gitea] Fix swift packages not resolving (go-gitea#29095)
Fixes go-gitea#29094 (cherry picked from commit 6be3fda)
1 parent 34450f7 commit e87ab05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/packages/swift/swift.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func EnumeratePackageVersions(ctx *context.Context) {
157157
}
158158

159159
type Resource struct {
160-
Name string `json:"id"`
160+
Name string `json:"name"`
161161
Type string `json:"type"`
162162
Checksum string `json:"checksum"`
163163
}

0 commit comments

Comments
 (0)