feat: limit comments on homepage

This commit is contained in:
Roman Godmaire 2024-02-10 18:20:29 -05:00
parent a3d6ea4b69
commit 631a77510f

View file

@ -35,7 +35,11 @@ export class DatabasePrisma implements Database {
username: true
}
}
}
},
orderBy: {
createdAt: 'desc'
},
take: 3
}
}
},