Cizz22 3 months ago
parent 87277aff20
commit 717a2de019

@ -130,9 +130,9 @@ async def get_aeros_equipment_by_location_tag(*, location_tag: Union[str, List[s
json=aerosNodeReq, json=aerosNodeReq,
headers={"Content-Type": "application/json"}, headers={"Content-Type": "application/json"},
) )
response.raise_for_status()
aerosEquipmentData = response.json() aerosEquipmentData = response.json()
raise Exception(aerosEquipmentData)
if not aerosEquipmentData: if not aerosEquipmentData:
raise HTTPException( raise HTTPException(

Loading…
Cancel
Save