Skip to content

Commit

Permalink
fix: list stores from auths up to 48h
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 authored Jul 16, 2024
1 parent 889b558 commit 4b2e1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/lib/ux-group/send-waiting-orders.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const exportOrder = require('./export-order')
const listStoreIds = () => {
const storeIds = []
const date = new Date()
date.setHours(date.getHours() - 24)
date.setHours(date.getHours() - 48)
return firestore()
.collection('ecomplus_app_auth')
.where('updated_at', '>', firestore.Timestamp.fromDate(date))
Expand Down

0 comments on commit 4b2e1ee

Please sign in to comment.