Removo TODO

This commit is contained in:
Douglas Barone 2020-11-30 14:56:05 -04:00
parent 72a6e577bc
commit 95364dc8a7

View File

@ -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 } }