[nit] js: api: fetch: Remove 404 handling
Isso returns a JSON response with `total_replies=0` instead
of a 404 since version 0.12.3 (see troubleshooting, PR
@@ -157,8 +157,6 @@ var fetch = function(tid, limit, nested_limit, parent, lastcreated) {
qs(query_dict), null, function(rv) {
if (rv.status === 200) {
deferred.resolve(JSON.parse(rv.body));
- } else if (rv.status === 404) {
- deferred.resolve({total_replies: 0});
} else {
deferred.reject(rv.body);
}
