diff options
author | CEnnis91 <cennis91@gmail.com> | 2024-02-08 01:45:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 14:45:44 +0800 |
commit | 6be3fda6fc746b1285e6dee72de1118177ba429e (patch) | |
tree | ade0504dc573c72ba843baa8a6fe5200f07481ba | |
parent | 37191dcfbdbd007266a4d15a3c85cdf94cec1a7a (diff) | |
download | gitea-6be3fda6fc746b1285e6dee72de1118177ba429e.tar.gz gitea-6be3fda6fc746b1285e6dee72de1118177ba429e.zip |
Fix swift packages not resolving (#29095)
Fixes #29094
-rw-r--r-- | routers/api/packages/swift/swift.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/swift/swift.go b/routers/api/packages/swift/swift.go index 427e262d06..6ad289e51e 100644 --- a/routers/api/packages/swift/swift.go +++ b/routers/api/packages/swift/swift.go @@ -157,7 +157,7 @@ func EnumeratePackageVersions(ctx *context.Context) { } type Resource struct { - Name string `json:"id"` + Name string `json:"name"` Type string `json:"type"` Checksum string `json:"checksum"` } |