osmlab / to-fix-backend

The to-fix server
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

Pagination #125

Closed kepta closed 7 years ago

kepta commented 7 years ago

Adds pagination to the task/item endpoint.

cc @batpad @mcwhittemore

batpad commented 7 years ago

This looks good to me @kepta - I do think we will need pagination right away to start working on the frontend, so I'm 👍 on merging once @mcwhittemore has a chance to review.

kepta commented 7 years ago

@mcwhittemore I have fixed the things you pointed out. I would like to know your opinion on throwing an error inside the function and then catching it inside the express endpoint.

Feel free to flag if I missed something.

Merging this for now.