* 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 (
|
||
|---|---|---|
| .. | ||
| admin | ||
| misc | ||
| notify | ||
| org | ||
| repo | ||
| settings | ||
| swagger | ||
| user | ||
| utils | ||
| api.go | ||