Skip to content

Commit

Permalink
Feature: Change vote interval
Browse files Browse the repository at this point in the history
  • Loading branch information
sora32127 committed Aug 31, 2024
1 parent 4929f9c commit e12f974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/db.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export async function getRecentVotedPosts(): Promise<PostCardData[]>{
by: ["postId"],
where: {
voteDateGmt : {
gte: new Date(new Date().getTime() - 24 * 60 * 60 * 1000),
gte: new Date(new Date().getTime() - 48 * 60 * 60 * 1000),
lte: new Date(),
},
voteTypeInt : { in : [1]}
Expand Down

0 comments on commit e12f974

Please sign in to comment.