The get method returns a maximum of 25 elements from a collection

System Information
  • Strapi Version: v4.1.2
  • Node Version: 14.17.4
  • NPM Version: 6.14.14

Hello :slight_smile: ,

I just realized that when I make a get() request for one of my collections that has more than 35 elements, strapi returns me a maximum of 25 elements. Do you know why and how to fix it? Perhaps an inadvertent error…

Here is my code:

export function showAllProspect(){
    return dispatch => {
            axios.get("http://localhost:1337/api/prospects/", {
                headers: {
                    Authorization: `Bearer `+ localStorage.jwt,
                dispatch({type: "addProspectInData", payload: response})

Thank you in advance ! :slight_smile: