Skip to content

Commit

Permalink
fix: duration of the event is 60 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashinch committed Mar 20, 2024
1 parent 153a26c commit 8af79f8
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_100001
function packageGames(games, hasAlarm, calName) {
return games.map((game) => {
const gameDate = new Date(game.matchDate);
const durationMinutes = 16;
const durationMinutes = 1 * 60;
const gameEndDate = new Date(gameDate.getTime() + durationMinutes * 60 * 1000);
let gameName = "";
// gameName = game.secondLevelGameName;
Expand Down

0 comments on commit 8af79f8

Please sign in to comment.