From f3f5cc42c906f8add13f599a7c6580cf1fabab2a Mon Sep 17 00:00:00 2001 From: Juan Pablo Risso Date: Tue, 6 Sep 2016 17:38:45 -0400 Subject: [PATCH] CREX-5826 - Missing braces (#1198) --- .../smartthings/notify-me-when.src/notify-me-when.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smartapps/smartthings/notify-me-when.src/notify-me-when.groovy b/smartapps/smartthings/notify-me-when.src/notify-me-when.groovy index 1d8a055..3b286a8 100644 --- a/smartapps/smartthings/notify-me-when.src/notify-me-when.groovy +++ b/smartapps/smartthings/notify-me-when.src/notify-me-when.groovy @@ -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 {