Skip to content

Commit 1586e34

Browse files
committed
maybe try lowering change history to 7 days
1 parent 610440c commit 1586e34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/api/lttstore/devData/+server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const GET = (async ({platform}) => {
3333

3434
// const waterBottleChanges = db.prepare("select * from change_history where id = 7117650296935")
3535
const changeHistory = db.prepare("select * from change_history where id = 6649895092327 or timestamp > ?")
36-
.bind(Date.now() - (14 * 24 * 60 * 60e3)) // only get non-screwdriver changes from the past 14 days
36+
.bind(Date.now() - (7 * 24 * 60 * 60e3)) // only get non-screwdriver changes from the past 7 days
3737
.all()
3838
.then(r => r.results)
3939
.finally(() => console.log("changeHistory query finished"))

0 commit comments

Comments
 (0)