Include channel, events, and schedule when hashing presets
This commit is contained in:
1 parent
96286b9d10
commit
3fe418e0c8
1 file changed
+3
@@ -62,6 +62,9 @@ computeHash = () ->
|
||||
h = crypto.createHash('md5')
|
||||
for p in presets
|
||||
h.update(JSON.stringify(p.name))
|
||||
h.update(JSON.stringify(p.channel))
|
||||
h.update(JSON.stringify(p.schedule))
|
||||
h.update(JSON.stringify(p.events))
|
||||
h.update(JSON.stringify(p.precondition))
|
||||
h.update(JSON.stringify(p.provisions))
|
||||
|
||||
|
||||
Reference in new issue
Block a user