|
|
@ -8,7 +8,7 @@ export function getSecsFromDates(date: Date): number { |
|
|
|
// Convert to seconds
|
|
|
|
const differenceInSeconds = differenceInMs / 1000; |
|
|
|
|
|
|
|
console.log(`Difference in seconds: ${differenceInSeconds}`); |
|
|
|
// console.log(`Difference in seconds: ${differenceInSeconds}`);
|
|
|
|
return Math.floor(differenceInSeconds); |
|
|
|
} |
|
|
|
|
|
|
@ -18,7 +18,7 @@ export async function saveCallLogs(callLog: { |
|
|
|
time: number; |
|
|
|
}) { |
|
|
|
const { from, to, time } = callLog; |
|
|
|
console.log("saveCallLogs", callLog); |
|
|
|
// console.log("saveCallLogs", callLog);
|
|
|
|
try { |
|
|
|
const res = await fetch( |
|
|
|
"https://multiplyyapi.convexsol.com/Investor/CreateCallLogs", |
|
|
|