This commit is contained in:
2024-11-06 21:15:14 +05:00
parent 847cb7983a
commit d856b1cae3
+2 -2
View File
@@ -238,7 +238,7 @@ async function checkActiveSessions() {
async function checkScheduledSessions() {
try {
const scheduledSessions: any = await got
.get(`${process.env.CRM_API_URL}/scheduled_sessions`)
.get(`${process.env.CRM_API_URL}/scheduledSessions`)
.json();
if (!scheduledSessions.length) return;
@@ -267,7 +267,7 @@ async function checkScheduledSessions() {
}
const result2 = await got
.put(`${process.env.CRM_API_URL}/scheduled_sessions/${session.id}`, {
.put(`${process.env.CRM_API_URL}/scheduledSessions/${session.id}`, {
json: {
activeSessionId: result.stream,
},