Skip to content

Commit

Permalink
More debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ammsalme committed Oct 20, 2023
1 parent 512b32f commit 7ec1a99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mongoLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default async function (MONGO_URI, dbName = 'rest-api') {

// getExpandedListOfLogs returns groped MERGE_LOGs and MATCH_LOGs
async function getExpandedListOfLogs({logItemTypes = [LOG_ITEM_TYPE.MERGE_LOG, LOG_ITEM_TYPE.MATCH_LOG], catalogers = [], dateBefore = new Date(), dateAfter = new Date('2000-01-01')}) {
logger.debug(`commons: logItemTypes: ${JSON.stringify(logItemTypes)}, dateAfter: ${dateAfter}, dateBefore: ${dateBefore}}, catalogers: ${JSON.stringify(catalogers)}`);
logger.debug(JSON.stringify(generateMatchObject(logItemTypes, catalogers, dateBefore, dateAfter))); // eslint-disable-line
//checkLogItemType(logItemType, false, false);
logger.debug(`Getting expanded list of logs`);
Expand Down

0 comments on commit 7ec1a99

Please sign in to comment.