[gitea] Fix swift packages not resolving (#29095)

Fixes #29094

(cherry picked from commit 6be3fda6fc746b1285e6dee72de1118177ba429e)
This commit is contained in:
CEnnis91 2024-02-08 01:45:44 -05:00 committed by Earl Warren
parent 34450f7d35
commit e87ab053e7
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 0579CB2928A78A00

View file

@ -157,7 +157,7 @@ func EnumeratePackageVersions(ctx *context.Context) {
} }
type Resource struct { type Resource struct {
Name string `json:"id"` Name string `json:"name"`
Type string `json:"type"` Type string `json:"type"`
Checksum string `json:"checksum"` Checksum string `json:"checksum"`
} }