diff --git a/server/utils/index.js b/server/utils/index.js index 4a6c6f9..b4e8e66 100644 --- a/server/utils/index.js +++ b/server/utils/index.js @@ -51,6 +51,7 @@ const sanitizeConfig = (config, relation, relationSortFields) => { delete config.id; delete config.updatedAt; delete config.createdAt; + delete config.publishedAt; if (relation) { const formattedRelations = []; @@ -59,6 +60,7 @@ const sanitizeConfig = (config, relation, relationSortFields) => { delete relationEntity._id; delete relationEntity.id; delete relationEntity.updatedAt; + delete config.publishedAt; delete relationEntity.createdAt; relationEntity = sortByKeys(relationEntity);