* Add missing `X-Total-Count` and fix some related bugs
Adds `X-Total-Count` header to APIs that return a list but doesn't have it yet.
Fixed bugs:
* not returned after reporting error (
|
||
|---|---|---|
| .. | ||
| db.go | ||
| indexer.go | ||
| indexer_test.go | ||
| queue.go | ||