Revert "Version 2.1.9"

This commit is contained in:
Charles
2021-09-17 18:11:21 -04:00
committed by GitHub
parent 1ce58a361f
commit 157f32f094
44 changed files with 194 additions and 974 deletions

View File

@@ -57,7 +57,10 @@ const DeviceConfiguration = () => {
};
axiosInstance
.get(`${endpoints.owgw}/api/v1/device/${encodeURIComponent(deviceSerialNumber)}`, options)
.get(
`${endpoints.ucentralgw}/api/v1/device/${encodeURIComponent(deviceSerialNumber)}`,
options,
)
.then((response) => {
setDevice(response.data);
})
@@ -79,7 +82,7 @@ const DeviceConfiguration = () => {
axiosInstance
.put(
`${endpoints.owgw}/api/v1/device/${encodeURIComponent(deviceSerialNumber)}`,
`${endpoints.ucentralgw}/api/v1/device/${encodeURIComponent(deviceSerialNumber)}`,
parameters,
{ headers },
)