Skip to content

Commit

Permalink
chore: enabled booking rules debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYuion committed Jan 22, 2025
1 parent 0a6738c commit 0461444
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions libs/common/src/lib/booking-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,22 +112,22 @@ export function rulesForResource(
details.resource.zones?.includes(ruleset.zone)
) {
if (checkRulesMatch(details, ruleset)) {
// console.log(
// 'Matched Ruleset:',
// details.resource.id,
// details,
// ruleset
// );
console.log(
'Matched Ruleset:',
details.resource.id,
details,
ruleset,
);
return ruleset.rules;
}
}
}
// console.log(
// 'No Matched Ruleset:',
// details.resource.id,
// details,
// DEFAULT_RULES
// );
console.log(
'No Matched Ruleset:',
details.resource.id,
details,
DEFAULT_RULES,
);
return DEFAULT_RULES;
}

Expand Down

0 comments on commit 0461444

Please sign in to comment.