[builds-api]: refactor List endpoint to not return err

There was a recent refactor that changed the return signature of endpoint functions to return http code and response but no error object. get the List endpoint to follow the same pattern too

Signed-off-by: Ndibe Raymond Olisaemeka rolisaemeka-ctr@wikimedia.org

Merge request reports

Loading