Skip to content

Commit

Permalink
fix: update ignored attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
raiindev committed Dec 13, 2024
1 parent 4e023cd commit f404e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/services/content-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const isValidType = (type) => {
return !['component', 'media', 'blocks', 'json', 'password'].includes(type)
}

const isIgnoredAttribute = (attribute) => ['publishedAt', 'createdAt', 'updatedAt'].includes(attribute.name)
const isIgnoredAttribute = (attribute) => ['publishedAt', 'createdAt', 'updatedAt', 'locale', 'localizations'].includes(attribute.name)

const isValidRelation = ({ attribute, includedRelations }) => {
return (
Expand Down

0 comments on commit f404e88

Please sign in to comment.