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