CREX-5826 - Missing braces (#1198)

This commit is contained in:
Juan Pablo Risso
2016-09-06 17:38:45 -04:00
committed by GitHub
parent 313fe8b734
commit f3f5cc42c9

View File

@@ -116,11 +116,11 @@ private sendMessage(evt) {
if (pushAndPhone != 'No') {
log.debug 'Sending push and SMS'
options.method = 'both'
else {
} else {
log.debug 'Sending SMS'
options.method = 'phone'
}
else if (pushAndPhone != 'No') {
} else if (pushAndPhone != 'No') {
log.debug 'Sending push'
options.method = 'push'
} else {