itizawa %!s(int64=5) %!d(string=hai) anos
pai
achega
db95f40be4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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,