Skip to content

Commit

Permalink
Merge pull request #143 from TeamSparker/fix/#142
Browse files Browse the repository at this point in the history
[FIX] 특정습관방 인증사진 모아보기 day 0 data 제외
  • Loading branch information
xxeol2 authored Jan 20, 2022
2 parents 93640f4 + fb29477 commit 614414e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/db/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const getPagedRecordsByEntryId = async (client, entryId, lastId, size) => {
SELECT *
FROM spark.record r
WHERE r.entry_id = $1
AND r.day != 0
ORDER BY r.day DESC
LIMIT $2
`,
Expand Down

0 comments on commit 614414e

Please sign in to comment.