tango-app-api-client 3.6.14 → 3.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3226,11 +3226,11 @@ export async function listStoreRequest( req, res ) {
|
|
|
3226
3226
|
|
|
3227
3227
|
const today = new Date();
|
|
3228
3228
|
const threeDaysAgo = new Date();
|
|
3229
|
-
threeDaysAgo.setDate( today.getDate() - getConfig?.footfallDirectoryConfigs?.allowTicketCreation || 3 );
|
|
3229
|
+
threeDaysAgo.setDate( today.getDate() - ( getConfig?.footfallDirectoryConfigs?.allowTicketCreation || 3 ) );
|
|
3230
3230
|
|
|
3231
3231
|
const todayStr = today.toISOString().slice( 0, 10 );
|
|
3232
3232
|
const threeDaysAgoStr = threeDaysAgo.toISOString().slice( 0, 10 );
|
|
3233
|
-
|
|
3233
|
+
logger.info( { today, threeDaysAgo, todayStr, threeDaysAgoStr, getConfig: getConfig?.footfallDirectoryConfigs?.allowTicketCreation } );
|
|
3234
3234
|
|
|
3235
3235
|
const query = [
|
|
3236
3236
|
{
|