src/api/pagination.js
Function createPaginationLinks
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const createPaginationLinks = (result, urlTemplate) => {
PaginatedResultType(result)
URIValueType(urlTemplate)
let links = []
links.push(new Link(