From fc145215eea40612f3ef5fe3ae525be247106182 Mon Sep 17 00:00:00 2001 From: Antony Date: Thu, 8 Feb 2024 13:38:07 +0530 Subject: [PATCH] Entry, missing extension logic fix --- packages/contentstack-audit/src/modules/entries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contentstack-audit/src/modules/entries.ts b/packages/contentstack-audit/src/modules/entries.ts index 96cae08247..a54185af8c 100644 --- a/packages/contentstack-audit/src/modules/entries.ts +++ b/packages/contentstack-audit/src/modules/entries.ts @@ -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); } }