perf: 优化插件搜索逻辑,避免重复关键词

This commit is contained in:
远野千束 2024-03-28 07:46:50 +08:00
parent 8a8e9c62ab
commit 0880623930

View File

@ -181,8 +181,6 @@ async def npm_search(keywords: list[str]) -> list[StorePlugin]:
plugin.desc, plugin.desc,
plugin.author, plugin.author,
plugin.module_name, plugin.module_name,
plugin.project_link,
plugin.homepage,
' '.join([tag.label for tag in plugin.tags]) ' '.join([tag.label for tag in plugin.tags])
] ]
) )