fix: bug in repositry of subscriptions

This commit is contained in:
mahyargdz
2025-02-08 16:24:54 +03:30
parent ab3f3f8eaf
commit bc96f62782
14 changed files with 110 additions and 44 deletions
@@ -79,15 +79,15 @@ export class DanakServicesService {
}
/******************************************** */
async getUserServices(userId: string) {
const userServices = await this.danakServicesRepository.find({
where: { users: { id: userId } },
});
// async getUserServices(userId: string) {
// const userServices = await this.danakServicesRepository.find({
// where: { users: { id: userId } },
// });
return {
userServices,
};
}
// return {
// userServices,
// };
// }
/******************************************** */
async toggleCategoryStatus(paramDto: ParamDto) {