diff --git a/src/api/SwaggerApi.js b/src/api/SwaggerApi.js index af0adf90670ce64ca920ce4849561c5c7add2f14..4f0897a68de49367e674752b8e8aa5510d9f9f42 100644 --- a/src/api/SwaggerApi.js +++ b/src/api/SwaggerApi.js @@ -821,11 +821,7 @@ export function unpackPersonalStatistics(statistics) { export function useOwnIocsWithAlarms() { const api = useContext(apiContext); - const method = useCallAndUnpack(api.apis.IOCs.listOwnIocsWithAlarms, unpackOwnIocsWithAlarms) + const method = useCallAndUnpack(api.apis.IOCs.listOwnIocsWithAlarms) return useAsync({ fcn: method, call: true, init: [] }); } - -export function unpackOwnIocsWithAlarms(iocs) { - return iocs; -} \ No newline at end of file