diff --git a/src/utils/reputation.ts b/src/utils/reputation.ts index a6421e6..903b4ed 100644 --- a/src/utils/reputation.ts +++ b/src/utils/reputation.ts @@ -15,7 +15,7 @@ interface ReputationDBResult { } export async function getReputation(userID: UserID): Promise { - const weekAgo = Date.now() - 1000 * 60 * 60 * 24 * 45; // 45 days ago + const weekAgo = Date.now() - 1000 * 60 * 60 * 24 * 7; // 45 days ago const pastDate = Date.now() - 1000 * 60 * 60 * 24 * 45; // 45 days ago // 1596240000000 is August 1st 2020, a little after auto upvote was disabled const fetchFromDB = () => db.prepare("get",