Added Pilot Stats in Admin view
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user