api changes
This commit is contained in:
parent
9725e133a4
commit
cf924d2ad6
@ -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…
x
Reference in New Issue
Block a user