Skip to content

Commit f3333a8

Browse files
authored
Merge pull request #156 from umc-commit/feat/add-field-bookmark
[FEAT] 북마크 목록 조회 응답에 bookmarkId 필드 추가
2 parents 8c0fc97 + 189a01d commit f3333a8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/bookmark/service/bookmark.service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export const BookmarkService = {
115115

116116
return {
117117
id: Number(bookmark.commission.id),
118+
bookmarkId: Number(bookmark.id),
118119
title: bookmark.commission.title,
119120
minPrice: bookmark.commission.minPrice,
120121
category: bookmark.commission.category,

src/common/swagger/bookmark.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
"type": "object",
291291
"properties": {
292292
"id": { "type": "integer", "example": 1 },
293+
"bookmarkId": { "type": "integer", "example": 5 },
293294
"title": { "type": "string", "example": "커미션 제목" },
294295
"minPrice": { "type": "integer", "example": 10000 },
295296
"category": {

0 commit comments

Comments
 (0)