Skip to content

Commit

Permalink
Merge pull request #183 from TeamSparker/fix/#176
Browse files Browse the repository at this point in the history
[fix] 카드 모아보기에서 스파크 합계 0으로 보이는 버그 수정
  • Loading branch information
youngkwon02 authored Feb 16, 2022
2 parents 0b66503 + 1f7e2f0 commit 3644bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/routes/myroom/myroomGET.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module.exports = async (req, res) => {
roomName: room.roomName,
leftDay,
thumbnail: room.thumbnail,
totalReceivedSpark: sparkCount.count ? parseInt(sparkCount.count) : 0,
totalReceivedSpark: parseInt(sparkCount[0].count) ? parseInt(sparkCount[0].count) : 0,
startDate: startDate.format('YYYY-MM-DD'),
endDate: endDate.format('YYYY-MM-DD'),
failDay: null,
Expand Down

0 comments on commit 3644bc9

Please sign in to comment.