itizawa 5 лет назад
Родитель
Сommit
db95f40be4
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/client/js/components/RecentCreated/RecentCreated.jsx

+ 2 - 2
src/client/js/components/RecentCreated/RecentCreated.jsx

@@ -41,9 +41,9 @@ class RecentCreated extends React.Component {
     const offset = (selectPageNumber - 1) * limit;
 
     // pagesList get and pagination calculate
-    const res = await appContainer.apiv3Get(`/users/${creator._id}/recent`, { offset });
+    const res = await appContainer.apiv3Get(`/users/${creator._id}/recent`, { offset, limit });
     const { totalCount, pages } = res.data;
-
+    console.log(res.data);
     this.setState({
       pages,
       activePage: selectPageNumber,