test: update tests

This commit is contained in:
Frederic Jahn
2022-11-17 12:11:18 +01:00
parent a6976dcc32
commit ae0b1656f3
4 changed files with 11 additions and 2 deletions

View File

@ -103,8 +103,6 @@ type UserListRequest struct {
}
func (h *UserHandlerAdmin) List(c echo.Context) error {
// TODO: return 'X-Total-Count' header, which includes the all users count
// TODO; return 'Link' header, which includes links to next, previous, current(???), first, last page (example https://docs.github.com/en/rest/guides/traversing-with-pagination)
var request UserListRequest
err := (&echo.DefaultBinder{}).BindQueryParams(c, &request)
if err != nil {