chore: fix bug

This commit is contained in:
mahyargdz
2025-03-12 15:05:56 +03:30
parent 787f3d0426
commit 146c38025a
4 changed files with 12 additions and 121 deletions
@@ -148,6 +148,7 @@ export class DanakServicesService {
async getCategories(queryDto: CategorySearchQueryDto) {
const where: FindOptionsWhere<DanakServiceCategory> = {
isActive: true,
deletedAt: IsNull(),
};
if (queryDto.parentId === undefined) {