Новые правки на сайте

This commit is contained in:
Web-serfer 2026-04-15 19:32:21 +05:00
parent 261d5db2d7
commit f6f2fb3a35
7 changed files with 106 additions and 6 deletions

View file

@ -50,8 +50,8 @@ export const GET: APIRoute = async ({ url }) => {
image: getImageUrl(post),
})),
total: result.totalItems,
page: result.pageInfo.page,
perPage: result.pageInfo.perPage,
page: result.page,
perPage: result.perPage,
totalPages: result.totalPages,
}), { status: 200 });