Skip to content

Commit 9df09ed

Browse files
committed
Fix swift packages not resolving (go-gitea#29095)
Backport go-gitea#29095 Fixes go-gitea#29094
1 parent 19a08c7 commit 9df09ed

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)