Commit graph

4 commits

Author SHA1 Message Date
zyachel
a8574c4f0c refactor: make view components more modular 2022-08-03 15:15:33 +05:30
zyachel
e7c83bd06e fix: send a meaningful error response in case an answer/topic can't be fetched
sometimes URL is malinformed(eg: accessing topic/some-name instead of profile/some-name).
other times it's Quora that doesn't populate their JSON.
In all these cases, fetcher script returns an empty object.
So, sending meaningful error messages might help the user.
2022-06-24 17:43:06 +05:30
zyachel
b9d65e89f0 fix: fix errors in fetchers 2022-06-12 12:49:08 +05:30
zyachel
0a35cdaa15 feat(route): add new route
add /topic/:slug route both in api as well as in view
2022-05-22 19:35:02 +05:30