Fix typo in ReactionObserver (#5834) [deploy]

This commit is contained in:
Andy Zhao 2020-02-03 11:18:37 -05:00 committed by GitHub
parent 6b53331476
commit 29e46000a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
class ReactionObserver < ActiveRecord::Observer
def after_create(reaction)
if reaction.category == "vomit"
SlackBotPingWorker.perfom_async(
SlackBotPingWorker.perform_async(
message: "#{reaction.user.name} (https://dev.to#{reaction.user.path}) \nreacted with a #{reaction.category} on\nhttps://dev.to#{reaction.reactable.path}",
channel: "abuse-reports",
username: "abuse_bot",