From 236c2271c034f2ea78d5ef14edfd2cea7dd84cf0 Mon Sep 17 00:00:00 2001 From: Andrew Kreps Date: Wed, 13 Sep 2017 00:29:24 -0700 Subject: [PATCH] Yo --- lib/lita/handlers/onewheel_alert.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lita/handlers/onewheel_alert.rb b/lib/lita/handlers/onewheel_alert.rb index 863cbd9..d959cc8 100644 --- a/lib/lita/handlers/onewheel_alert.rb +++ b/lib/lita/handlers/onewheel_alert.rb @@ -29,7 +29,8 @@ def alert(response) end def respond_sms(request, response) - qs = CGI.parse request['QUERY_STRING'] + Lita.logger.info ENV['QUERY_STRING'] + qs = CGI.parse ENV['QUERY_STRING'] Lita.logger.info qs.inspect response.body << "Hello, #{request.body}!" end