chore: cleanup

This commit is contained in:
Ephraim Atta-Duncan
2025-01-28 15:40:40 +00:00
parent 6993c52b2a
commit 97f7d77a34
5 changed files with 5 additions and 90 deletions

View File

@ -50,16 +50,6 @@ export const getUserWithAtLeastOneDocumentSignedPerMonth = async () => {
});
};
export const getUsersWithLastSignedInCount = async () => {
return await prisma.user.count({
where: {
lastSignedIn: {
gte: DateTime.now().minus({ months: 1 }).toJSDate(),
},
},
});
};
export type GetUserWithDocumentMonthlyGrowth = Array<{
month: string;
count: number;