0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Added newsletter sender email to content API

refs https://github.com/TryGhost/Team/issues/2348

The suppressions FAQ on portal needs to show the newsletter's sender address, which wasn't exposed to the content API so far.
This commit is contained in:
Rishabh 2022-12-12 11:17:59 +05:30 committed by Rishabh Garg
parent d7fc3a5e48
commit 14bdb58694

View file

@ -10,6 +10,7 @@ module.exports = (model, frame) => {
name: jsonModel.name,
description: jsonModel.description,
slug: jsonModel.slug,
sender_email: jsonModel.sender_email,
subscribe_on_signup: jsonModel.subscribe_on_signup,
visibility: jsonModel.visibility,
sort_order: jsonModel.sort_order,