update remove api key function
This commit is contained in:
parent
3a3487dc26
commit
cb5b58b7e4
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ export function removeApiKeys(flow: FlowType): FlowType {
|
|||
let cleanFLow = _.cloneDeep(flow);
|
||||
cleanFLow.data.nodes.forEach((node) => {
|
||||
for (const key in node.data.node.template) {
|
||||
if (key.includes("api")) {
|
||||
if (node.data.node.template[key].password!==undefined) {
|
||||
node.data.node.template[key].value = "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue