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:
Rosa Gutierrez
2026-02-24 20:43:21 +01:00
parent 5bea9633d0
commit 6fb24118ea
2 changed files with 5 additions and 2 deletions
@@ -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,