From c26e820f9391028bf943569a43363b49f5123294 Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Sat, 20 Jun 2015 12:17:52 +0000 Subject: [PATCH] Update gitter.rb --- lib/lita/adapters/gitter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lita/adapters/gitter.rb b/lib/lita/adapters/gitter.rb index 34a9f68..705085b 100644 --- a/lib/lita/adapters/gitter.rb +++ b/lib/lita/adapters/gitter.rb @@ -101,7 +101,7 @@ def send_message(_target, text) # rubocop:disable AbcSize, MethodLength request.add_field('Content-Type', 'application/json') request.add_field('Accept', 'application/json') request.add_field('Authorization', "Bearer #{config.token}") - request.body = {"text" => text}.to_json + request.body = { 'text' => text }.to_json http.request(request) end end