Skip to content

Commit

Permalink
PDR-359 update PM opening hour to 1pm (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronpettit authored Apr 25, 2024
1 parent b09f8fc commit 1aaf68d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lambda/dynamoUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const PASS_TYPE_AM = 'AM';
const PASS_TYPE_PM = 'PM';
const PASS_TYPE_DAY = 'DAY';
const TIMEZONE = 'America/Vancouver';
const DEFAULT_PM_OPENING_HOUR = 12;
const DEFAULT_PM_OPENING_HOUR = 13;
const PASS_TYPE_EXPIRY_HOURS = {
AM: 12,
AM: 13,
PM: 0,
DAY: 0
};
Expand Down Expand Up @@ -89,7 +89,7 @@ async function getOne(pk, sk) {

// TODO: set paginated to TRUE by default. Query results will then be at most 1 page
// (1MB) unless they are explicitly specified to retrieve more.
// TODO: Ensure the returned object has the same structure whether results are paginated or not.
// TODO: Ensure the returned object has the same structure whether results are paginated or not.
async function runQuery(query, paginated = false) {
logger.info('query:', query);
let data = [];
Expand Down Expand Up @@ -125,7 +125,7 @@ async function runQuery(query, paginated = false) {

// TODO: set paginated to TRUE by default. Scan results will then be at most 1 page
// (1MB) unless they are explicitly specified to retrieve more.
// TODO: Ensure the returned object has the same structure whether results are paginated or not.
// TODO: Ensure the returned object has the same structure whether results are paginated or not.
async function runScan(query, paginated = false) {
logger.info('query:', query);
let data = [];
Expand Down

0 comments on commit 1aaf68d

Please sign in to comment.