diff --git a/package-lock.json b/package-lock.json index 03f33bb..54ab976 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "backend-8tech", - "version": "4.2.0", + "version": "4.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "backend-8tech", - "version": "4.2.0", + "version": "4.2.1", "license": "UNLICENSED", "dependencies": { "@nestjs/common": "^9.4.3", diff --git a/package.json b/package.json index 300cf35..40767d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backend-8tech", - "version": "4.2.0", + "version": "4.2.1", "description": "", "author": "8tech", "private": true, diff --git a/src/contract/contract.repository.ts b/src/contract/contract.repository.ts index 5d5aa25..5e9a250 100644 --- a/src/contract/contract.repository.ts +++ b/src/contract/contract.repository.ts @@ -47,6 +47,9 @@ export class ContractRepository { where: { id, }, + include: { + payment: true, + }, }); }