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

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;
})
});