gordon-cs / gordon-360-api

The 360° Gordon Experience
11 stars 6 forks source link

Fix Update Office Location to store building code instead of building description #1023

Closed EjPlatzer closed 6 months ago

EjPlatzer commented 6 months ago

Per CTS Ticket #167273, 360 has been storing bad data in webSQL.dbo.account.building. That column is expected to hold the building's Code, but 360 was writing the building's description instead. I have updated the API to send structured building data containing both code and description to the frontend, and to expect a building code instead of a building description when updating a faculty/staff member's office location.