Modified endpoints to match new naming convention

This commit is contained in:
Charles
2021-09-01 09:02:20 -04:00
parent 1900a2cc1e
commit ac0398d8f3
40 changed files with 205 additions and 117 deletions

View File

@@ -29,7 +29,7 @@ const FirmwareHistoryModal = ({ serialNumber, show, toggle }) => {
};
axiosInstance
.get(`${endpoints.ucentralfms}/api/v1/revisionHistory/${serialNumber}`, options)
.get(`${endpoints.owfms}/api/v1/revisionHistory/${serialNumber}`, options)
.then((response) => setData(response.data.history ?? []))
.catch(() => {})
.finally(() => setLoading(false));