mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralgw-ui.git
				synced 2025-10-31 02:38:01 +00:00 
			
		
		
		
	Modified endpoints to match new naming convention
This commit is contained in:
		| @@ -25,7 +25,7 @@ const DeviceFirmwareModal = ({ | ||||
|     }; | ||||
|  | ||||
|     axiosInstance | ||||
|       .get(`${endpoints.ucentralfms}/api/v1/firmwares?deviceType=${device.compatible}`, { | ||||
|       .get(`${endpoints.owfms}/api/v1/firmwares?deviceType=${device.compatible}`, { | ||||
|         headers, | ||||
|       }) | ||||
|       .then((response) => { | ||||
| @@ -60,7 +60,7 @@ const DeviceFirmwareModal = ({ | ||||
|     }; | ||||
|  | ||||
|     axiosInstance | ||||
|       .post(`${endpoints.ucentralgw}/api/v1/device/${device.serialNumber}/upgrade`, parameters, { | ||||
|       .post(`${endpoints.owgw}/api/v1/device/${device.serialNumber}/upgrade`, parameters, { | ||||
|         headers, | ||||
|       }) | ||||
|       .then((response) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Charles
					Charles