Skip to content

Commit

Permalink
Update gitter.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Braiden Vasco committed Jun 20, 2015
1 parent 415acee commit c26e820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lita/adapters/gitter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c26e820

Please sign in to comment.