Skip to content

Commit

Permalink
Remove recipient argument (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachances authored May 8, 2024
1 parent b775e81 commit 1514ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/delivery_methods/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Here, the recipient `has_many :notification_tokens` with columns `platform` and

```ruby
deliver_by :ios do |config|
config.device_tokens = ->(recipient) { recipient.notification_tokens.where(platform: :iOS).pluck(:token) }
config.device_tokens = -> { recipient.notification_tokens.where(platform: :iOS).pluck(:token) }
end
```

Expand Down

0 comments on commit 1514ae3

Please sign in to comment.