From: Laurence Maultsby Date: Fri, 21 Oct 2016 18:36:13 +0000 (-0400) Subject: RIFT-14942: added check for loggingEvents X-Git-Tag: v1.0.1~10^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F565%2F1;p=osm%2FUI.git RIFT-14942: added check for loggingEvents Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/logging/api/transforms.js b/skyquake/plugins/logging/api/transforms.js index f4bfda62e..2e2b8dceb 100644 --- a/skyquake/plugins/logging/api/transforms.js +++ b/skyquake/plugins/logging/api/transforms.js @@ -168,7 +168,7 @@ LoggingConfigEncoder.prototype.denyEvents = function(data) { * or absence of the { "allow": { "duplicate": "events" }} key/value hierarchy */ LoggingConfigEncoder.prototype.allow = function(data) { - if (data.allowDuplicateEvent && data.allowDuplicateEvents.toUpperCase() == "TRUE") { + if (data.allowDuplicateEvents && data.allowDuplicateEvents.toUpperCase() == "TRUE") { return { duplicate: "events" }; } else { return null;