upd
This commit is contained in:
Vendored
+2
-2
@@ -208,7 +208,7 @@ async function checkScheduledSessions() {
|
||||
.get(`https://coord.graff.tech/start?build=${build}&location=a1`)
|
||||
.json();
|
||||
if (!result.stream) {
|
||||
console.log("Not result");
|
||||
console.log("Not result.stream");
|
||||
return;
|
||||
}
|
||||
const result2 = await got_cjs_1.default
|
||||
@@ -218,7 +218,7 @@ async function checkScheduledSessions() {
|
||||
},
|
||||
})
|
||||
.json();
|
||||
console.log("CRON Start session: ", result2);
|
||||
console.log("result2: ", result2);
|
||||
}
|
||||
else if ((0, date_fns_1.isAfter)(new Date(), (0, date_fns_1.parseISO)(session.endAt))) {
|
||||
const result = await got_cjs_1.default
|
||||
|
||||
Reference in New Issue
Block a user