mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Do not include creds when calculating flow revision hash
This commit is contained in:
parent
6a06142e1e
commit
522f7e6844
@ -66,7 +66,7 @@ var storageModuleInterface = {
|
|||||||
flows: flows,
|
flows: flows,
|
||||||
credentials: creds
|
credentials: creds
|
||||||
};
|
};
|
||||||
result.rev = crypto.createHash('md5').update(JSON.stringify(result)).digest("hex");
|
result.rev = crypto.createHash('md5').update(JSON.stringify(result.flows)).digest("hex");
|
||||||
return result;
|
return result;
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user