mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix updateProvider parameter
This commit is contained in:
@@ -342,7 +342,7 @@ async function updateProvider(req: Request, res: Response) {
|
||||
const { isEnabled, priority, config } = req.body;
|
||||
|
||||
const success = await providerManager.updateEmbeddingProviderConfig(
|
||||
providerId, isEnabled, priority, config
|
||||
providerId, isEnabled, priority
|
||||
);
|
||||
|
||||
if (!success) {
|
||||
|
||||
Reference in New Issue
Block a user