Fix wrong URLPath in packages-meta-ext-v1.json

The code generating this file was using package name instead of package base.
This then lead goaurrpc to consume this and forward the issue to RPC info
requests.
This commit is contained in:
morganamilo 2024-12-27 09:42:49 +00:00
parent eca8bbf515
commit 61d1bdfbf6
No known key found for this signature in database
GPG key ID: E48D0A8326DE47C5

View file

@ -267,7 +267,7 @@ def _main():
# Construct our result JSON dictionary. # Construct our result JSON dictionary.
item = as_dict(result) item = as_dict(result)
item["URLPath"] = snapshot_uri % result.Name item["URLPath"] = snapshot_uri % result.PackageBase
# We stream out package json objects line per line, so # We stream out package json objects line per line, so
# we also need to include the ',' character at the end # we also need to include the ',' character at the end