diff --git a/package-lock.json b/package-lock.json index 4281071..bfbd00f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "backend-8tech", - "version": "4.1.7", + "version": "4.1.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "backend-8tech", - "version": "4.1.7", + "version": "4.1.8", "license": "UNLICENSED", "dependencies": { "@nestjs/common": "^9.4.3", diff --git a/package.json b/package.json index c14e03f..cb0e0a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backend-8tech", - "version": "4.1.7", + "version": "4.1.8", "description": "", "author": "8tech", "private": true, diff --git a/src/contract/contract.repository.ts b/src/contract/contract.repository.ts index 77bc8e0..ed29bc2 100644 --- a/src/contract/contract.repository.ts +++ b/src/contract/contract.repository.ts @@ -95,6 +95,9 @@ export class ContractRepository { id: companyId, }, }, + NOT: { + status: 'REJECTED' || 'PENDING', + }, }, orderBy: { updatedAt: 'desc',