chore: Upgrade rails and ruby versions (#2400)
ruby version: 3.0.2 rails version: 6.1.4
This commit is contained in:
@@ -3,7 +3,7 @@ class Contacts::ContactableInboxesService
|
||||
|
||||
def get
|
||||
account = contact.account
|
||||
account.inboxes.map { |inbox| get_contactable_inbox(inbox) }.compact
|
||||
account.inboxes.filter_map { |inbox| get_contactable_inbox(inbox) }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user