This makes the builds API consistent with the events API, and makes pagination work as expected.
resp.data.decode('utf8') should be replaced with 'resp.get_data(as_text=True)` as pointed out by the flask doc. http://flask.pocoo.org/docs/0.12/api/#flask.Response.data But this is a spearte issue and should not block this patch.
resp.data.decode('utf8')
:thumbsup:
Filed this https://pagure.io/freshmaker/issue/172
Commit af626b27 fixes this pull-request
Pull-Request has been merged by jkaluza
This makes the builds API consistent with the events API, and makes
pagination work as expected.