1
0
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:
Nick O'Leary 2017-09-28 22:34:21 +01:00
parent 6a06142e1e
commit 522f7e6844
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -66,7 +66,7 @@ var storageModuleInterface = {
flows: flows,
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;
})
});