File tree Expand file tree Collapse file tree
src/routes/api/lttstore/devData Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const GET = (async ({platform}) => {
1818 . then ( r => r . results ) ;
1919
2020 const collectionChanges = db . prepare ( "select * from collection_changes where field is not \"updated_at\" or timestamp > ?" )
21- . bind ( Date . now ( ) - ( 2 * 24 * 60 * 60e3 ) ) // only get update_at entries from the past 2 days
21+ . bind ( Date . now ( ) - ( 24 * 60 * 60e3 ) ) // only get updated_at entries from the past 24h
2222 . all ( )
2323 . then ( r => r . results ) ;
2424
@@ -28,7 +28,7 @@ export const GET = (async ({platform}) => {
2828
2929 // const waterBottleChanges = db.prepare("select * from change_history where id = 7117650296935")
3030 const changeHistory = db . prepare ( "select * from change_history where id = 6649895092327 or timestamp > ?" )
31- . bind ( Date . now ( ) - ( 30 * 24 * 60 * 60e3 ) ) // only get non-screwdriver changes from the past 30 days
31+ . bind ( Date . now ( ) - ( 14 * 24 * 60 * 60e3 ) ) // only get non-screwdriver changes from the past 14 days
3232 . all ( )
3333 . then ( r => r . results ) ;
3434
You can’t perform that action at this time.
0 commit comments