Skip to content

Commit 0deebf0

Browse files
authored
fix: list stores from auths up to 48h
1 parent e1e4bc4 commit 0deebf0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

functions/lib/integration/sync-from-tiny.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ const formatDate = require('./helpers/format-tiny-date')
88
const listStoreIds = () => {
99
const storeIds = []
1010
const date = new Date()
11-
date.setHours(date.getHours() - 24)
12-
11+
date.setHours(date.getHours() - 48)
1312
return firestore()
1413
.collection('ecomplus_app_auth')
1514
.where('updated_at', '>', firestore.Timestamp.fromDate(date))

0 commit comments

Comments
 (0)