Browse Source

/api/tasks -> /api/task

pull/5/head
rozetko 2 years ago
parent
commit
fd80fa4f97
  1. 2
      src/panels/corpglory-dataexporter-panel/components/Panel.tsx

2
src/panels/corpglory-dataexporter-panel/components/Panel.tsx

@ -35,7 +35,7 @@ export function Panel({ options, data, width, height, timeRange, onChangeTimeRan
useEffect(() => {
// TODO: move this function to Network Service
async function getTasks(): Promise<TableRowConfig[]> {
return makeRequest<TableRowConfig[]>('/tasks', {});
return makeRequest<TableRowConfig[]>('/task', {});
}
getTasks()

Loading…
Cancel
Save