We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ecb4a commit dcef2e6Copy full SHA for dcef2e6
backend/app/admin/service/plugin_service.py
@@ -135,6 +135,8 @@ async def uninstall(*, plugin: str):
135
bacup_dir = os.path.join(PLUGIN_DIR, f'{plugin}.{timezone.now().strftime("%Y%m%d%H%M%S")}.backup')
136
shutil.move(plugin_dir, bacup_dir)
137
await redis_client.delete(f'{settings.PLUGIN_REDIS_PREFIX}:info:{plugin}')
138
+ await redis_client.hdel(f'{settings.PLUGIN_REDIS_PREFIX}:status', plugin)
139
+ await redis_client.set(f'{settings.PLUGIN_REDIS_PREFIX}:new', 'ture')
140
141
@staticmethod
142
async def update_status(*, plugin: str):
0 commit comments