Skip to content

Commit 94069f0

Browse files
authored
Merge pull request #175 from umc-commit/feat/add-artistId-commission
[FEAT] 커미션 상세글 조회 응답에 artistId 추가
2 parents 9e2672e + e4fb8c8 commit 94069f0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/commission/service/commission.service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export const CommissionService = {
137137
thumbnailImageUrl,
138138
remainingSlots,
139139
isBookmarked: commission.bookmarks?.length > 0 || false,
140+
artistId: commission.artist.id,
140141
createdAt: commission.createdAt.toISOString()
141142
};
142143
},

src/common/swagger/commission.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"thumbnailImageUrl": { "type": "string", "example": "https://example.com/image1.jpg" },
6161
"remainingSlots": { "type": "integer", "example": 3 },
6262
"isBookmarked": { "type": "boolean", "example": false },
63+
"artistId": { "type": "integer", "example": 1 },
6364
"createdAt": { "type": "string", "format": "date-time", "example": "2025-07-01T10:00:00.000Z" }
6465
}
6566
}

0 commit comments

Comments
 (0)