Skip to content

Commit 552ffd7

Browse files
authored
Merge pull request #102 from Solux-WebBeing/fix/imminent
fix: responsebody update
2 parents 93e0c17 + 7f5b846 commit 552ffd7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

β€Žbackend/src/controllers/search.controller.jsβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ async function enrichDataWithMySQL(results, currentUserId = null) {
219219

220220
// [μ΅œμ’… λ©”μ‹œμ§€]
221221
// 예: "μ—¬μ„± μ˜μ œμ— 관심이 μžˆλŠ” 5λͺ…이 μ—°λŒ€ν•©λ‹ˆλ‹€!"
222-
interestMessage: `${displayTopic} μ˜μ œμ— 관심이 μžˆλŠ” ${specificInterestCount}λͺ…이 μ—°λŒ€ν•©λ‹ˆλ‹€!`
222+
interestMessage: `${displayTopic} μ˜μ œμ— 관심이 μžˆλŠ” ${specificInterestCount}λͺ…이 μ—°λŒ€ν•©λ‹ˆλ‹€!`,
223+
interestTopic: displayTopic,
224+
interestCounts: specificInterestCount
223225
};
224226
});
225227
}

β€Žbackend/src/services/main.service.jsβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ async function enrichData(results, currentUserId = null) {
200200
isTodayEnd,
201201

202202
// [μ΅œμ’… λ©”μ‹œμ§€]
203-
interestMessage: `${displayTopic} μ˜μ œμ— 관심이 μžˆλŠ” ${specificInterestCount}λͺ…이 μ—°λŒ€ν•©λ‹ˆλ‹€!`
203+
interestMessage: `${displayTopic} μ˜μ œμ— 관심이 μžˆλŠ” ${specificInterestCount}λͺ…이 μ—°λŒ€ν•©λ‹ˆλ‹€!`,
204+
interestTopic: displayTopic,
205+
interestCounts: specificInterestCount
204206
};
205207
});
206208
}

0 commit comments

Comments
Β (0)