Bugfix: FCM push subscription builder fix (#930)
This commit is contained in:
parent
ede4dd9cb0
commit
915eefdc36
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class NotificationSubscriptionBuilder
|
|||
|
||||
def identifier
|
||||
@identifier ||= params[:subscription_attributes][:endpoint] if params[:subscription_type] == 'browser_push'
|
||||
@identifier ||= params[:device_id] if params[:subscription_type] == 'fcm'
|
||||
@identifier ||= params[:subscription_attributes][:device_id] if params[:subscription_type] == 'fcm'
|
||||
@identifier
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue