Skip to content

Commit e02feb4

Browse files
committed
hotfix: add-name-and-image
1 parent 85fdd68 commit e02feb4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/domain/couple/constant/score-query.helper.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export function coupleStatsSubQuery(ds: DataSource) {
1515
.createQueryBuilder()
1616
.select([
1717
'c.id AS coupleId',
18+
'c.name AS name',
19+
'c.profileImageUrl AS profileImageUrl',
1820
'c.createdAt AS createdAt',
1921
'c.cumulativeEcoLovePoints AS cumHeart',
2022
])
@@ -59,6 +61,8 @@ export function coupleScoreQB(
5961
.setParameters(sub.getParameters())
6062
.select([
6163
'b.coupleId AS coupleId',
64+
'b.name AS name',
65+
'b.profileImageUrl AS profileImageUrl',
6266
'b.createdAt AS createdAt',
6367
'b.cumHeart AS cumulativeEcoLovePoints',
6468
'b.ecoCnt AS ecoVerificationCount',

0 commit comments

Comments
 (0)