From 9f8636290b39505d69f0c635d70cccf73699d35c Mon Sep 17 00:00:00 2001 From: sr Date: Tue, 12 Sep 2023 08:59:21 +0530 Subject: [PATCH] fix: change org to env --- .../src/app/feeds/usecases/create-feed/create-feed.usecase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/feeds/usecases/create-feed/create-feed.usecase.ts b/apps/api/src/app/feeds/usecases/create-feed/create-feed.usecase.ts index 7834899bf14..3c65cba1484 100644 --- a/apps/api/src/app/feeds/usecases/create-feed/create-feed.usecase.ts +++ b/apps/api/src/app/feeds/usecases/create-feed/create-feed.usecase.ts @@ -10,7 +10,7 @@ export class CreateFeed { async execute(command: CreateFeedCommand): Promise { const feedExist = await this.feedRepository.findOne({ - _organizationId: command.organizationId, + _environmentId: command.environmentId, identifier: command.name, });