Skip to content

Commit 3e0c5ff

Browse files
authored
Merge pull request #311 from EKEC-crew/refactor/hoshi/search-return-score
♻️Refactor: 검색에서 별점 반환 #310
2 parents d965ed7 + 65d649b commit 3e0c5ff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/crew/search/search/controller/search.controller.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export const handleDefaultSearch = async (req, res, next) => {
6666
name:{ type: "string", example: "UMC Study 모임"},
6767
description:{ type: "string", example: "스터디 모집합니다."},
6868
introduction:{ type: "string", example: "함께 성장해요!"},
69+
score:{ type:"Number", example: 4.15},
6970
capacity:{type:"number", example:10},
7071
memberCount:{type:"number", example:1},
7172
noticeCount:{type:"number", example:1},
@@ -317,6 +318,7 @@ export const handleAdvancedSearch = async (req, res, next) => {
317318
name:{ type: "string", example: "UMC Study 모임"},
318319
description:{ type: "string", example: "스터디 모집합니다."},
319320
introduction:{ type: "string", example: "함께 성장해요!"},
321+
score:{ type:"Number", example: 4.15},
320322
capacity:{type:"number", example:10},
321323
memberCount:{type:"number", example:1},
322324
noticeCount:{type:"number", example:1},
@@ -728,6 +730,7 @@ export const handleGetByCategory = async (req, res) => {
728730
introduction:{ type: "string", example: "함께 성장해요!"},
729731
capacity:{type:"number", example:10},
730732
memberCount:{type:"number", example:1},
733+
score:{ type:"Number", example: 4.15},
731734
noticeCount:{type:"number", example:1},
732735
postCount:{type:"number", example:5},
733736
bannerImage:{type:"string", example:"banner.jpg"},

0 commit comments

Comments
 (0)