Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -104,7 +104,7 @@ app.post('/info', async (req, res) => {
|
|
| 104 |
const data = response.data;
|
| 105 |
const maxPages = data.length;
|
| 106 |
|
| 107 |
-
const info = {
|
| 108 |
|
| 109 |
if (max) {
|
| 110 |
const pages = Math.ceil(maxPages / max);
|
|
|
|
| 104 |
const data = response.data;
|
| 105 |
const maxPages = data.length;
|
| 106 |
|
| 107 |
+
const info = { objects: maxPages };
|
| 108 |
|
| 109 |
if (max) {
|
| 110 |
const pages = Math.ceil(maxPages / max);
|