From a7eeb8f628dae0f37bf6cfe6d6bdf43591d24ed9 Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Wed, 18 Jan 2023 13:28:50 +0700 Subject: [PATCH] Fixed Mention Admin API mapper There was a typo when reading the featured image property causing it not to show up in the API responses. --- .../api/endpoints/utils/serializers/output/mappers/mentions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/core/core/server/api/endpoints/utils/serializers/output/mappers/mentions.js b/ghost/core/core/server/api/endpoints/utils/serializers/output/mappers/mentions.js index 9ea9499a80..e4e0259f6b 100644 --- a/ghost/core/core/server/api/endpoints/utils/serializers/output/mappers/mentions.js +++ b/ghost/core/core/server/api/endpoints/utils/serializers/output/mappers/mentions.js @@ -13,6 +13,6 @@ module.exports = (model) => { source_excerpt: json.sourceExcerpt, source_author: json.sourceAuthor, source_favicon: json.sourceFavicon, - source_featured_image: json.sourceFeauredImage + source_featured_image: json.sourceFeaturedImage }; };