mirror of
https://github.com/langgenius/dify.git
synced 2026-07-31 17:29:37 +08:00
feat: change api/v1/plugins/download to api/v1/plugins/download-url (#39811)
This commit is contained in:
parent
563cf2602f
commit
69a16d8319
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user