Don't limit pledge list to 5 in full list

We need to show all pledges, remember!
This commit is contained in:
Hippo 2022-01-11 14:17:57 +05:30
parent dfce6c7278
commit bea9203b00

View file

@ -498,7 +498,6 @@ router.get('/pledges', async (req, res) => {
await Pledge await Pledge
.forge() .forge()
.orderBy('created_at', 'DESC') .orderBy('created_at', 'DESC')
.fetchPage({ limit: 5 })
).models ).models
if (DEBUG) console.log(`Listing ${recentPledges.length} pledges`) if (DEBUG) console.log(`Listing ${recentPledges.length} pledges`)