Skip to content

Commit

Permalink
Entry, missing extension logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonyagustine committed Feb 8, 2024
1 parent 6e771e3 commit fc14521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/contentstack-audit/src/modules/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export default class Entries {
if (field[uid]) {
let { metadata: { extension_uid } = { extension_uid: '' } } = field[uid] || {};

if (!this.extensions.includes(extension_uid)) {
if (extension_uid && !this.extensions.includes(extension_uid)) {
missingRefs.push({ uid, extension_uid, type: 'Extension or Apps' } as any);
}
}
Expand Down

0 comments on commit fc14521

Please sign in to comment.