feat: change api/v1/plugins/download to api/v1/plugins/download-url (#39811)

This commit is contained in:
wangxiaolei 2026-07-30 18:23:29 +08:00 committed by GitHub
parent 563cf2602f
commit 69a16d8319
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ MARKETPLACE_TIMEOUT = 30
def get_plugin_pkg_url(plugin_unique_identifier: str) -> str:
query = urlencode({"unique_identifier": plugin_unique_identifier})
return f"{marketplace_api_url / 'api/v1/plugins/download'}?{query}"
return f"{marketplace_api_url / 'api/v1/plugins/download-url'}?{query}"
def download_plugin_pkg(plugin_unique_identifier: str) -> bytes: