ran tsc locally
This commit is contained in:
parent
ea7e224c9e
commit
55b7b99e48
3 changed files with 4 additions and 2 deletions
2
cron.log
2
cron.log
|
@ -4,3 +4,5 @@
|
||||||
2024-02-04T10:31:00.825Z - END CRON JOB
|
2024-02-04T10:31:00.825Z - END CRON JOB
|
||||||
2024-02-04T10:52:00.163Z - START CRON JOB
|
2024-02-04T10:52:00.163Z - START CRON JOB
|
||||||
2024-02-04T10:52:03.334Z - END CRON JOB
|
2024-02-04T10:52:03.334Z - END CRON JOB
|
||||||
|
2024-02-04T11:00:00.562Z - START CRON JOB
|
||||||
|
2024-02-04T11:00:03.403Z - END CRON JOB
|
||||||
|
|
2
dist/GameSource.js
vendored
2
dist/GameSource.js
vendored
|
@ -11,7 +11,7 @@ const moment_1 = __importDefault(require("moment")); // require
|
||||||
// search for upcomming games
|
// search for upcomming games
|
||||||
class GameSource {
|
class GameSource {
|
||||||
async getGamesFromHaifa() {
|
async getGamesFromHaifa() {
|
||||||
const sourceUrl = `http://mhaifafc.com/games?lang=en`;
|
const sourceUrl = `https://mhaifafc.com/games?lang=en`;
|
||||||
console.log('Trying to get games from Haifa...');
|
console.log('Trying to get games from Haifa...');
|
||||||
try {
|
try {
|
||||||
const result = await axios_1.default.get(sourceUrl);
|
const result = await axios_1.default.get(sourceUrl);
|
||||||
|
|
|
@ -9,7 +9,7 @@ import moment from "moment"; // require
|
||||||
|
|
||||||
export default class GameSource {
|
export default class GameSource {
|
||||||
async getGamesFromHaifa(): Promise<GoogleCalendarEvent[]> {
|
async getGamesFromHaifa(): Promise<GoogleCalendarEvent[]> {
|
||||||
const sourceUrl = `http://mhaifafc.com/games?lang=en`;
|
const sourceUrl = `https://mhaifafc.com/games?lang=en`;
|
||||||
console.log('Trying to get games from Haifa...');
|
console.log('Trying to get games from Haifa...');
|
||||||
try {
|
try {
|
||||||
const result = await axios.get(sourceUrl);
|
const result = await axios.get(sourceUrl);
|
||||||
|
|
Loading…
Reference in a new issue