Added Pilot Stats in Admin view

This commit is contained in:
PxlLoewe
2025-05-04 11:40:40 -07:00
parent 1d5aa24ebd
commit 152b3d4689
5 changed files with 267 additions and 9 deletions

View File

@@ -36,3 +36,11 @@ export const resetPassword = async (id: string) => {
return { password };
};
export const deleteDispoHistory = async (id: string) => {
return await prisma.connectedDispatcher.deleteMany({
where: {
userId: id,
},
});
};