0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Added source_site_title and source_author to Mentions Admin API

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

We need to update the API to explicitly include the new data from our Mention
entity
This commit is contained in:
Fabien "egg" O'Carroll 2023-01-18 12:34:31 +07:00
parent 560d168169
commit 52892e0695

View file

@ -9,7 +9,9 @@ module.exports = (model) => {
payload: json.payload,
resource_id: json.resourceId,
source_title: json.sourceTitle,
source_site_title: json.sourceSiteTitle,
source_excerpt: json.sourceExcerpt,
source_author: json.sourceAuthor,
source_favicon: json.sourceFavicon,
source_featured_image: json.sourceFeauredImage
};