Fix and Delete Log
This commit is contained in:
parent
dd5a0523dc
commit
2f01c575db
2 changed files with 1 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ export default function Incidents() {
|
||||||
router.push({
|
router.push({
|
||||||
pathname: '/call',
|
pathname: '/call',
|
||||||
params: {
|
params: {
|
||||||
callDetails: btoa(JSON.stringify(call))
|
callDetails: btoa(JSON.stringify(callItem))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,6 @@ const getIncidents = async (departments, incidentStatus) => {
|
||||||
status: incidentStatus
|
status: incidentStatus
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
console.log('response: ', response);
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error(`HTTP error! status: ${response.status}`);
|
throw new Error(`HTTP error! status: ${response.status}`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue