From 1514ae3f239b991a3b952e3805474c147e68ea4e Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 8 May 2024 13:43:23 -0400 Subject: [PATCH] Remove recipient argument (#441) --- docs/delivery_methods/ios.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/delivery_methods/ios.md b/docs/delivery_methods/ios.md index 182de38..7aaf8b3 100644 --- a/docs/delivery_methods/ios.md +++ b/docs/delivery_methods/ios.md @@ -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 ```