diff --git a/src/helper.ts b/src/helper.ts index 224a7aa..ce088f8 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -27,7 +27,11 @@ export async function saveCallLogs(callLog: { headers: { "Content-Type": "application/json", }, - body: JSON.stringify({ from, to, time }), + body: JSON.stringify({ + callerId: from, + receiverId: to, + callDuration: time, + }), } ); if (!res.ok) {