fix: bug in repositry of subscriptions
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user