Removo TODO
This commit is contained in:
parent
72a6e577bc
commit
95364dc8a7
|
@ -74,8 +74,7 @@ const Query = {
|
||||||
},
|
},
|
||||||
|
|
||||||
async stats() {
|
async stats() {
|
||||||
return {
|
return {
|
||||||
//TODO: count
|
|
||||||
tokenCountTotal: prisma.resetToken.count(),
|
tokenCountTotal: prisma.resetToken.count(),
|
||||||
tokenCountUsed: prisma.resetToken.count({
|
tokenCountUsed: prisma.resetToken.count({
|
||||||
where: { NOT: { usedAt: null } }
|
where: { NOT: { usedAt: null } }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user