NicholasLYang / courses

Course navigator using Schedge API
1 stars 1 forks source link

Changing the request to https://schedge.a1liu.com/ #7

Closed Kn99HN closed 4 years ago

Kn99HN commented 4 years ago

Currently looking through the code. I change the request to http://schedge.a1liu.com/. But I ran into trouble working through it. So the API now returns data in different format. My temp fix for list of schools is the parse to string and such. But this is definitely not right. I believe if I modify types of these values in duck.ts, it would fix the problem. Can you give me some guidance?

Kn99HN commented 4 years ago

I figure this out. Lmk if I did anything wrong. Change types for school and subject and it works as before