From a0764b1fc68f9bf27056a4991bce8de3ff22590b Mon Sep 17 00:00:00 2001 From: Sivert Lunde Date: Thu, 16 Jan 2025 10:36:56 +0100 Subject: [PATCH] always include copyrightNotice --- src/util/getStructuredDataFromArticle.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/util/getStructuredDataFromArticle.ts b/src/util/getStructuredDataFromArticle.ts index 86663a013..4ec9ef448 100644 --- a/src/util/getStructuredDataFromArticle.ts +++ b/src/util/getStructuredDataFromArticle.ts @@ -138,11 +138,7 @@ const getCopyrightDataImage = ( copyrightHolder: mapType(ORGANIZATION_TYPE, rightsholders), contributor: mapType(PERSON_TYPE, processors), ...(rightsholders.length ? { creditText: rightsholders.map((r) => r.name).join(", ") } : {}), - ...(isCopyrighted - ? { - copyrightNotice: rightsholders.map((r) => r.name).join(", "), - } - : {}), + ...{ copyrightNotice: rightsholders.map((r) => r.name).join(", ") }, }; };