mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
fix mcp tools save (#5028)
This commit is contained in:
parent
095b75ee27
commit
8acb16f9f2
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue