mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 18:48:55 +00:00
fix mcp tools save (#5028)
This commit is contained in:
@@ -7,7 +7,7 @@ export const storeSecretValue = (
|
||||
storeSecret: StoreSecretValueType
|
||||
): Record<string, SecretValueType> => {
|
||||
return Object.fromEntries(
|
||||
Object.entries(storeSecret).map(([key, value]) => [
|
||||
Object.entries(storeSecret || {}).map(([key, value]) => [
|
||||
key,
|
||||
{
|
||||
secret: encryptSecret(value.value),
|
||||
|
Reference in New Issue
Block a user