MCPcopy
hub / github.com/FlowiseAI/Flowise / getCredentialParam

Function getCredentialParam

packages/components/src/utils.ts:686–688  ·  view source on GitHub ↗
(paramName: string, credentialData: ICommonObject, nodeData: INodeData, defaultValue?: any)

Source from the content-addressed store, hash-verified

684}
685
686export const getCredentialParam = (paramName: string, credentialData: ICommonObject, nodeData: INodeData, defaultValue?: any): any => {
687 return (nodeData.inputs as ICommonObject)[paramName] ?? credentialData[paramName] ?? defaultValue ?? undefined
688}
689
690// reference https://www.freeformatter.com/json-escape.html
691const jsonEscapeCharacters = [

Callers 15

initMethod · 0.90
initMethod · 0.90
getRedisClientFunction · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90
Composio_ToolsClass · 0.90
initMethod · 0.90
initMethod · 0.90
initMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected