mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-10 09:54:26 +01:00
fix: donation stats
This commit is contained in:
@@ -127,9 +127,8 @@ const getDonationsStats = extendType({
|
||||
where: {
|
||||
paid: true
|
||||
}
|
||||
}).then(d => d._sum.amount),
|
||||
}).then(d => d._sum.amount ?? 0),
|
||||
prisma.project.count()]);
|
||||
|
||||
// #TODO add a measurement unit for prizes & donations (eg. $ or sats or BTC)
|
||||
return {
|
||||
prizes: 2600,
|
||||
|
||||
Reference in New Issue
Block a user