Marje3PSUT / psutarchive-api

[Legacy] The strapi api for PSUT Archive.
MIT License
2 stars 0 forks source link

Duplicate courses are returned from the API #50

Closed itsmohmans closed 10 months ago

itsmohmans commented 10 months ago

The API returns duplicate courses after the latest update on the frontend (for now it only happens on demo.psutarchive.com and not psutarchive.com).

To reproduce:

  1. Go to https://demo.psutarchive.com/courses
  2. Search for 'digital logic' or 'applied'
  3. you can see duplicate results, open the networks tab in the browser devtools to see that the duplicate came from the API. image image

It's unclear what causes the issue now, so further investigation is needed. It also seems to be caused by the latest update so I'll investigate from the frontend side.

itsmohmans commented 10 months ago

Solved from the frontend as it wasn't an API issue.