diff --git a/src/api/SwaggerApi.js b/src/api/SwaggerApi.js
index 95b642a1aff9ea336f3294de5922f877b5111144..da76f5ee03cb794da91c9825e2bca0396063f5e0 100644
--- a/src/api/SwaggerApi.js
+++ b/src/api/SwaggerApi.js
@@ -680,13 +680,13 @@ export function unpackLokilog(logData) {
 
 export function useLokiSysLog() {
   const api = useContext(apiContext);
-  const method = useCallAndUnpack((hostName, timeRange) => api.apis.Monitoring.fetchSyslogLines({ host_name: hostName, timeRange: timeRange }), unpackLokilog)
+  const method = useCallAndUnpack((hostName, timeRange) => api.apis.Monitoring.fetchSyslogLines({ host_name: hostName, time_range: timeRange }), unpackLokilog)
   return useAsync({ fcn: method, call: false });
 }
 
 export function useLokiProcServLog() {
   const api = useContext(apiContext);
-  const method = useCallAndUnpack((hostName, iocName, timeRange) => api.apis.Monitoring.fetchProcServLogLines({ host_name: hostName, ioc_name: iocName, timeRange: timeRange }), unpackLokilog)
+  const method = useCallAndUnpack((hostName, iocName, timeRange) => api.apis.Monitoring.fetchProcServLogLines({ host_name: hostName, ioc_name: iocName, time_range: timeRange }), unpackLokilog)
 
   return useAsync({ fcn: method, call: false });
 }