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
1 changed files with 1 additions and 1 deletions

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