-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
At the moment, GET: /api/events will not return course events. This needs to be changed. Assuming front end keeps the section arrays updated as well as selected section value (which they should), we can just toss in section_array[selected_section] as an extra event. The object may need to be modified slightly to be consistent with other events. This modification should happen on the fly.
The course controller also contains a strange typo. On add course, we store lecArray in the database. However, this field is never defined anywhere. Given how small this issue is, let's fix it here at the same time.
Let's also remove the hash and user database entries with this issue. Both are not used anywhere.
CC: @pranR