From cf924d2ad6c8af6996191b5add8866579100713b Mon Sep 17 00:00:00 2001 From: Prakash Maity Date: Tue, 14 Jan 2025 15:25:31 +0530 Subject: [PATCH] api changes --- src/helper.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) {