fix: use correct endpoint for network

main
Josue 4 years ago committed by Tsu-ba-me
parent 0e09683d61
commit a3a4e4c72d
  1. 2
      striker-ui/components/Network/Network.tsx

@ -47,7 +47,7 @@ const Network = (): JSX.Element => {
const classes = useStyles(); const classes = useStyles();
const { data } = PeriodicFetch<AnvilNetwork>( const { data } = PeriodicFetch<AnvilNetwork>(
`${process.env.NEXT_PUBLIC_API_URL}/get_network?anvil_uuid=${uuid}`, `${process.env.NEXT_PUBLIC_API_URL}/get_networks?anvil_uuid=${uuid}`,
); );
const processed = processNetworkData(data); const processed = processNetworkData(data);

Loading…
Cancel
Save