🚨 fix all linting error

This commit is contained in:
rafiarrafif
2025-06-25 10:14:01 +07:00
parent b0cca586d1
commit 89c4fb79a7
16 changed files with 94 additions and 133 deletions

View File

@ -1,15 +1,11 @@
import { userModel } from "../user.model";
export const getAllUserRepo = async () => {
try {
const data = await userModel.findMany({
where: {
deletedAt: null,
},
});
const data = await userModel.findMany({
where: {
deletedAt: null,
},
});
return data;
} catch (error) {
throw error;
}
return data;
};