api changes

This commit is contained in:
Prakash Maity 2025-01-14 15:25:31 +05:30
parent 9725e133a4
commit cf924d2ad6

View File

@ -27,7 +27,11 @@ export async function saveCallLogs(callLog: {
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
}, },
body: JSON.stringify({ from, to, time }), body: JSON.stringify({
callerId: from,
receiverId: to,
callDuration: time,
}),
} }
); );
if (!res.ok) { if (!res.ok) {