Skip to content

Commit

Permalink
object.keys test
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodcloak committed Jun 9, 2024
1 parent 543f64d commit cc09c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/onReady.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {

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

tickets.forEach(async ticket => {
Object.keys(tickets).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 cc09c26

Please sign in to comment.