Browse Source

api changes

tipoff-server
Prakash Maity 2 weeks ago
parent
commit
cf924d2ad6
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/helper.ts

+ 5
- 1
src/helper.ts 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) {


Loading…
Cancel
Save