From 316857cc6d4d7b96ca6deea7dd4191d294c33d39 Mon Sep 17 00:00:00 2001 From: richard483 Date: Mon, 22 Jan 2024 02:35:24 +0700 Subject: [PATCH] updated get contract list for recruiter --- package-lock.json | 4 ++-- package.json | 2 +- src/contract/contract.repository.ts | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) 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',