mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw-ui.git
synced 2025-11-02 11:47:54 +00:00
Modified endpoints to match new naming convention
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user