const Prismic = require('prismic.io');

module.exports = {
  getAll(apiEndpoint) {
    return Prismic.api(apiEndpoint).then(api => (
      api.query(null, {
        lang: '*',
        pageSize: 100,
      })
    ));
  },
};

const Prismic = require('prismic.io');

module.exports = {
  getAll(apiEndpoint) {
    return Prismic.api(apiEndpoint).then(api => (
      api.query(null, { lang: '*' })
    ));
  },
};

--- 
+++ 
@@ -3,10 +3,7 @@
 module.exports = {
   getAll(apiEndpoint) {
     return Prismic.api(apiEndpoint).then(api => (
-      api.query(null, {
-        lang: '*',
-        pageSize: 100,
-      })
+      api.query(null, { lang: '*' })
     ));
   },
 };
Increase pageSize to 100 (which is the current prismic.io maximum)
