Don't limit pledge list to 5 in full list
We need to show all pledges, remember!
This commit is contained in:
parent
dfce6c7278
commit
bea9203b00
1 changed files with 0 additions and 1 deletions
|
@ -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`)
|
||||||
|
|
Loading…
Reference in a new issue