mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
fix updateProvider parameter
This commit is contained in:
parent
15630fb432
commit
baef5f9ada
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user