USER API's resolve the issues

This commit is contained in:
sharafat
2026-05-24 23:37:13 +06:00
parent 1abecc9b8f
commit c05266a522
+2 -1
View File
@@ -25,7 +25,8 @@ const get_all_users_from_db = async (req: Request) => {
}
});
return result;
const usersCount = await prisma.profile.count();
return{ result,usersCount,page,limit,skip};
};
const get_single_users_from_db = async (req: Request) => {