diff --git a/apps/organization/src/organization.service.ts b/apps/organization/src/organization.service.ts index f01be1827..26b1124a8 100644 --- a/apps/organization/src/organization.service.ts +++ b/apps/organization/src/organization.service.ts @@ -636,9 +636,6 @@ export class OrganizationService { orgIds = organizations?.map(item => item.id); const orgEcosystemDetails = await this._getOrgEcosystems(orgIds); - if (!orgEcosystemDetails || !Array.isArray(orgEcosystemDetails) || 0 === orgEcosystemDetails.length) { - throw new NotFoundException(ResponseMessages.ecosystem.error.ecosystemDetailsNotFound); - } updatedOrgs = getOrgs.organizations.map(org => { const matchingEcosystems = orgEcosystemDetails diff --git a/libs/common/src/response-messages/index.ts b/libs/common/src/response-messages/index.ts index c39a10769..13b43cb9d 100644 --- a/libs/common/src/response-messages/index.ts +++ b/libs/common/src/response-messages/index.ts @@ -385,11 +385,7 @@ export const ResponseMessages = { notFound: 'Not Found', serverError: 'Internal Server error' }, - ecosystem: { - error: { - ecosystemDetailsNotFound: 'Ecosystem details not found' - } - }, + webhook: { success: { webhookUrlRegister: 'Webhook Url registered successfully',