chore: add new service to add subs to danak services in array
This commit is contained in:
@@ -25,6 +25,7 @@ export class DanakServicesRepository extends Repository<DanakService> {
|
||||
|
||||
const queryBuilder = this.createQueryBuilder("service")
|
||||
.leftJoinAndSelect("service.category", "category")
|
||||
.loadRelationCountAndMap("service.subscriptionCount", "service.subscriptionPlans")
|
||||
.orderBy("service.createdAt", "DESC")
|
||||
.skip(skip)
|
||||
.take(limit);
|
||||
|
||||
Reference in New Issue
Block a user