about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-11-17 22:07:30 -0600
committermultiple creatures <dev@multiple-creature.party>2019-11-18 02:19:09 -0600
commitb1e3ecd78f0c384c630b5a66296fad65df986e2f (patch)
treea78c9dee235278110bcb4187fdb992920d4d5501
parent9d4a4efa7a99ddd1b4a90d90f31d17bfeecc5ac0 (diff)
In ProcessMentionsService, `skip_notify` should be a keyword argument, not positional.
-rw-r--r--app/services/process_mentions_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb
index cabd1d0bc..49647935f 100644
--- a/app/services/process_mentions_service.rb
+++ b/app/services/process_mentions_service.rb
@@ -4,7 +4,7 @@ class ProcessMentionsService < BaseService
   # Scan status for mentions and fetch remote mentioned users, create
   # local mention pointers
   # @param [Status] status
-  def call(status, skip_notify = false)
+  def call(status, skip_notify: false)
     return unless status.local? && !status.draft?
 
     @status  = status