Skip to content

Commit

Permalink
add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodcloak committed Jun 8, 2024
1 parent f733798 commit 9c9eb45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions events/onReady.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ module.exports = {

const ticketArray = Array.from(tickets);

console.log(`Pending Close Check\n===\n${tickets}\n===\n${ticketArray}`)

ticketArray.forEach(async ticket => {
const closeRequestedAt = new Date(ticket.close_requested_at);
const timeout = ticket.timeout * 24 * 60 * 60 * 1000;
Expand Down

0 comments on commit 9c9eb45

Please sign in to comment.