From 522f7e6844ef6e0971f3c59dbf5fcbf38241d88f Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 28 Sep 2017 22:34:21 +0100 Subject: [PATCH] Do not include creds when calculating flow revision hash --- red/runtime/storage/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red/runtime/storage/index.js b/red/runtime/storage/index.js index 8684cdd47..f60862fe7 100644 --- a/red/runtime/storage/index.js +++ b/red/runtime/storage/index.js @@ -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; }) });