Skip to content

Commit

Permalink
chore: change duration minutes to 2 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashinch authored Aug 26, 2024
1 parent 4259bd9 commit c93d2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const API_URL = "https://val.native.game.qq.com/esports/v1/data/VAL_Match_100002
function packageGames(games, hasAlarm, calName) {
return games.map((game) => {
const gameDate = new Date(game.matchDate);
const durationMinutes = 1 * 60;
const durationMinutes = 2 * 60;
const gameEndDate = new Date(gameDate.getTime() + durationMinutes * 60 * 1000);
let gameName = "";
// gameName = game.secondLevelGameName;
Expand Down

0 comments on commit c93d2f8

Please sign in to comment.