Use internal account ID as account_id and add account_slug
In native push payload, to be consistent about how we refer to this in other endpoints.
This commit is contained in:
@@ -30,7 +30,9 @@ class Notification::PushTarget::Native < Notification::PushTarget
|
||||
title: payload.title,
|
||||
body: payload.body,
|
||||
url: payload.url,
|
||||
account_id: notification.account.external_account_id,
|
||||
base_url: payload.base_url,
|
||||
account_id: notification.account.id,
|
||||
account_slug: notification.account.slug,
|
||||
avatar_url: payload.avatar_url,
|
||||
card_id: card&.id,
|
||||
card_title: card&.title,
|
||||
|
||||
Reference in New Issue
Block a user