about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-01 15:25:12 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:16 -0500
commit39c6086d5b347d11214e5c238948a7221b8a8f9e (patch)
tree34157e568198637e71a2256083bcf344ef799ca9 /app
parentc48f3c650af39b1108fb266d07c01d3e23be4620 (diff)
[Bug] Remove & from includes
Diffstat (limited to 'app')
-rw-r--r--app/lib/command_tag/command/status_tools.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/command_tag/command/status_tools.rb b/app/lib/command_tag/command/status_tools.rb
index 1f3b2d321..daa44601b 100644
--- a/app/lib/command_tag/command/status_tools.rb
+++ b/app/lib/command_tag/command/status_tools.rb
@@ -67,7 +67,7 @@ module CommandTag::Command::StatusTools
   def address_to_list(list_name)
     return if list_name.blank?
 
-    list_accounts = ListAccount.joins(:list).where(lists: { account: @account }).where('LOWER(lists.title) = ?', list_name.mb_chars.downcase).includes(&:account).map(&:account)
+    list_accounts = ListAccount.joins(:list).where(lists: { account: @account }).where('LOWER(lists.title) = ?', list_name.mb_chars.downcase).includes(:account).map(&:account)
     list_accounts.each { |target_account| mention(target_account) }
   end
 end