Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
PAW122 committed Dec 24, 2024
1 parent ad34769 commit 287bb01
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions handlers/tickets_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ let ticket_channels_collection = new Map();
* @param {*} channel_id
*/
function add_new_pengind_channel(channel_id, close_time) {
if (close_time) {
ticket_channels_collection.set(channel_id, close_time);
} else {
console.log(`close_time is undefined for channel_id: ${channel_id}`);
}
if (!close_time) return;
ticket_channels_collection.set(channel_id, close_time);
}

/**
Expand Down

0 comments on commit 287bb01

Please sign in to comment.