Skip to content

Commit

Permalink
fix: 특정습관방 인증사진 모아보기 day 0 data 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
xxeol2 committed Jan 20, 2022
1 parent 93640f4 commit fb29477
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 fb29477

Please sign in to comment.