summaryrefslogtreecommitdiff
path: root/backend/utilities.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/utilities.py')
-rw-r--r--backend/utilities.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/utilities.py b/backend/utilities.py
index 4abb16dc..d3db51c9 100644
--- a/backend/utilities.py
+++ b/backend/utilities.py
@@ -61,12 +61,13 @@ class Utilities:
res["success"] = False
return web.json_response(res)
- async def install_plugin(self, artifact="", name="No name", version="dev", hash=False):
+ async def install_plugin(self, artifact="", name="No name", version="dev", hash=False, install_type=0):
return await self.context.plugin_browser.request_plugin_install(
artifact=artifact,
name=name,
version=version,
- hash=hash
+ hash=hash,
+ install_type=install_type
)
async def confirm_plugin_install(self, request_id):