Explorar el Código

Actualizar url para resumen general

wilitp hace 4 años
padre
commit
fe02bd5a2c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/src/api/tables.ts

+ 1 - 1
app/src/api/tables.ts

@@ -35,7 +35,7 @@ export const generalTable = (from: string, to: string, token: string) => {
   qParams.append("start_datetime", from);
   qParams.append("end_datetime", to);
   return mustFetchJson<Summary[]>(
-    `${apiURL}summary/all_stations?${qParams.toString()}`,
+    `${apiURL}station/all/summary?${qParams.toString()}`,
     config
   );
 };