mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +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 { isEnabled, priority, config } = req.body;
|
||||||
|
|
||||||
const success = await providerManager.updateEmbeddingProviderConfig(
|
const success = await providerManager.updateEmbeddingProviderConfig(
|
||||||
providerId, isEnabled, priority, config
|
providerId, isEnabled, priority
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user