* 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 (
|
||
|---|---|---|
| .. | ||
| mail.go | ||
| mail_comment.go | ||
| mail_issue.go | ||
| mail_release.go | ||
| mail_repo.go | ||
| mail_test.go | ||
| mailer.go | ||
| mailer_test.go | ||
| main_test.go | ||