Skip to content

Commit

Permalink
Merge pull request #219 from jbarber/fixup-readme
Browse files Browse the repository at this point in the history
Fix symbol for reaction view example
  • Loading branch information
dblock committed Apr 10, 2019
2 parents 1f54735 + 8e5857e commit b615196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -626,15 +626,15 @@ class MyView < SlackRubyBot::MVC::View::Base

def react_thumbsup
client.web_client.reactions_add(
name: :thumbs_up,
name: :thumbsup,
channel: data.channel,
timestamp: data.ts,
as_user: true)
end

def react_thumbsdown
client.web_client.reactions_remove(
name: :thumbs_up,
name: :thumbsup,
channel: data.channel,
timestamp: data.ts,
as_user: true)
Expand Down

0 comments on commit b615196

Please sign in to comment.