Skip to content

Commit

Permalink
Merge pull request #69 from richard483/fix-1
Browse files Browse the repository at this point in the history
updated contract get by id to return payment info
  • Loading branch information
richard483 authored Jan 22, 2024
2 parents 5e94947 + 3098846 commit f0ebe1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backend-8tech",
"version": "4.2.0",
"version": "4.2.1",
"description": "",
"author": "8tech",
"private": true,
Expand Down
3 changes: 3 additions & 0 deletions src/contract/contract.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ export class ContractRepository {
where: {
id,
},
include: {
payment: true,
},
});
}

Expand Down

0 comments on commit f0ebe1e

Please sign in to comment.