I have a cloud code function that should return an array of about 900 objects, yet the max I can get is 100, any suggestions?
Moralis.Cloud.define("getAllRewards", async (request) => {
const query = new Moralis.Query("Deposits");
query.equalTo("payee", request.params.account);
const results = await query.find();
let sum = [];
for (let i = 0; i < results.length; ++i) {
sum.push({"amount": results[i].get("weiAmount")});
}
return sum;
});