Currently how the backend returns emptiness causes issues and thus we have to resort to a temp solution and we display errors also as "To Be Updated"
This needs to be changed on the backend as well where we would return {"error": "no data"} and we would look for error key in the response for emptiness.
Currently how the backend returns emptiness causes issues and thus we have to resort to a temp solution and we display errors also as "To Be Updated"
This needs to be changed on the backend as well where we would return
{"error": "no data"}
and we would look for error key in the response for emptiness.https://github.com/tsg-iitkgp/tsg/commit/a82817ee3b9199ff069b2c8553530bbbc0c7df51#r35659506