fix: add marketplace switch

This commit is contained in:
Yeuoly
2024-10-16 14:47:48 +08:00
parent 43ffccc8fd
commit 31cca4a849
6 changed files with 40 additions and 0 deletions

View File

@ -60,6 +60,11 @@ class PluginService:
manager = PluginInstallationManager()
return manager.fetch_plugin_installation_task(tenant_id, task_id)
@staticmethod
def delete_install_task(tenant_id: str, task_id: str) -> bool:
manager = PluginInstallationManager()
return manager.delete_plugin_installation_task(tenant_id, task_id)
@staticmethod
def upload_pkg(tenant_id: str, pkg: bytes, verify_signature: bool = False) -> str:
"""