mirror of
https://github.com/Shineii86/AniKotoAPI.git
synced 2026-10-22 19:05:11 +00:00
feat: add pagination metadata to all list endpoints
- Add pagination.helper.js with addPaginationMeta function - Add pagination info to: most-popular, search, new-release, newly-added, latest-updated, az-list, filter, category, status - Pagination includes: currentPage, totalPages, totalItems, itemsPerPage, hasNext, hasPrev - Fix creatorInfo middleware to include message field
This commit is contained in:
@@ -61,6 +61,7 @@ const addCreatorInfo = (req, res, next) => {
|
||||
creator: creatorInfo.creator,
|
||||
github: creatorInfo.github,
|
||||
telegram: creatorInfo.telegram,
|
||||
message: creatorInfo.message,
|
||||
timestamp: new Date().toLocaleString("en-IN", { timeZone: "Asia/Kolkata", hour12: true }),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user