Skip to content

Commit cbfe005

Browse files
cennis91silverwind
authored andcommitted
Fix swift packages not resolving (go-gitea#29095)
Fixes go-gitea#29094
1 parent 86bc76c commit cbfe005

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)