From 704906e9b6bdd43c9fa4d387595fe4daaa1721fc Mon Sep 17 00:00:00 2001 From: Matt Hanley <3798302+matthanley@users.noreply.github.com> Date: Fri, 27 May 2022 16:24:21 +0100 Subject: [PATCH] Updated firstpromoter after settings rename (#249) refs https://github.com/TryGhost/Ghost/pull/14801 - `firstpromoter_id` is now `firstpromoter_account` --- ghost/portal/src/utils/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/portal/src/utils/helpers.js b/ghost/portal/src/utils/helpers.js index dd66fe099d..4f4093bb00 100644 --- a/ghost/portal/src/utils/helpers.js +++ b/ghost/portal/src/utils/helpers.js @@ -576,7 +576,7 @@ export const getMemberEmail = ({member}) => { }; export const getFirstpromoterId = ({site}) => { - return (site && site.firstpromoter_id); + return (site && site.firstpromoter_account); }; export const getMemberName = ({member}) => {