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 9c9eb1a05d..adea585fcb 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,7 @@ module.exports = (model) => { source_excerpt: json.sourceExcerpt, source_author: json.sourceAuthor, source_favicon: json.sourceFavicon, - source_featured_image: json.sourceFeaturedImage + source_featured_image: json.sourceFeaturedImage, + verified: json.verified }; }; diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/mentions.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/mentions.test.js.snap index 6c98dd3b82..d7be69a6e5 100644 --- a/ghost/core/test/e2e-api/admin/__snapshots__/mentions.test.js.snap +++ b/ghost/core/test/e2e-api/admin/__snapshots__/mentions.test.js.snap @@ -16,6 +16,7 @@ Object { "source_title": Any, "target": Any, "timestamp": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, + "verified": false, }, Object { "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, @@ -30,6 +31,7 @@ Object { "source_title": Any, "target": Any, "timestamp": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, + "verified": false, }, ], "meta": Object { diff --git a/ghost/webmentions/lib/Mention.js b/ghost/webmentions/lib/Mention.js index 7b52cbce82..48792366e5 100644 --- a/ghost/webmentions/lib/Mention.js +++ b/ghost/webmentions/lib/Mention.js @@ -153,7 +153,8 @@ module.exports = class Mention { sourceAuthor: this.sourceAuthor, sourceExcerpt: this.sourceExcerpt, sourceFavicon: this.sourceFavicon, - sourceFeaturedImage: this.sourceFeaturedImage + sourceFeaturedImage: this.sourceFeaturedImage, + verified: this.verified }; }