diff --git a/src/api/SwaggerApi.js b/src/api/SwaggerApi.js index a070abe4185280356679a512bf72b698870519de..b19bcee057217ccbd8d5943a074dc13d049d2a9f 100644 --- a/src/api/SwaggerApi.js +++ b/src/api/SwaggerApi.js @@ -329,7 +329,7 @@ export function unpackHostIOCList(iocs) { export function useHostIOCList(id) { const api = useContext(apiContext); - const method = callAndUnpack(api.apis.Hosts.findAssociatedIocsByHosId, unpackHostIOCList) + const method = callAndUnpack(api.apis.Hosts.findAssociatedIocsByHostId, unpackHostIOCList) return useAsync({ fcn: method.bind(null, { hostCSEntryId: id }), init: { deployed: [], undeployed: [] } }); }