mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-07 01:02:55 +08:00
@@ -55,8 +55,7 @@ async function handler(
|
||||
toolList,
|
||||
name,
|
||||
avatar,
|
||||
headerSecret: formatedHeaderAuth,
|
||||
toolId: ''
|
||||
headerSecret: formatedHeaderAuth
|
||||
})
|
||||
],
|
||||
session
|
||||
|
||||
@@ -28,8 +28,7 @@ async function handler(req: ApiRequestProps<UpdateMcpToolsBodyType>, res: ApiRes
|
||||
toolList,
|
||||
headerSecret: formatedHeaderAuth,
|
||||
name: app.name,
|
||||
avatar: app.avatar,
|
||||
toolId: ''
|
||||
avatar: app.avatar
|
||||
});
|
||||
|
||||
await mongoSessionRun(async (session) => {
|
||||
|
||||
@@ -39,7 +39,7 @@ async function handler(
|
||||
|
||||
// System tool plugin
|
||||
if (source === AppToolSourceEnum.systemTool) {
|
||||
const item = await getSystemToolByIdAndVersionId(formatPluginId);
|
||||
const item = await getSystemToolByIdAndVersionId(pluginId);
|
||||
|
||||
return {
|
||||
total: 0,
|
||||
|
||||
Reference in New Issue
Block a user