Skip to content

Commit

Permalink
Merge branch 'main' into rosado/189-error-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rosado committed Jan 10, 2025
2 parents 6866391 + 9d7c5c0 commit 4eea2ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/middleware/common.middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ export const createPaginationTemplateParams = (req, res, next) => {
href: `${baseSubpath}/${item}`,
current: pageNumber === item
})
} else {
logger.warn('unexpected pagination item', { item, dataRange, types: types.App, endpoint: req.originalUrl })
}
logger.warn('unexpected pagination item', { item, dataRange, types: types.App, endpoint: req.originalUrl })
}

req.pagination = paginationObj
Expand Down

0 comments on commit 4eea2ef

Please sign in to comment.