update : get plan detail
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-17 20:46:30 +03:30
parent b73f5cf7a7
commit 547ec5b358
3 changed files with 4 additions and 15 deletions
+2 -1
View File
@@ -262,7 +262,8 @@ export class DPageService {
}
async getDpagePlanById(id: string) {
return this.subscriptionService.getDpagePlanById(id);
const data = await this.subscriptionService.getDpagePlanById(id);
return {data}
}
}
@@ -695,8 +695,8 @@ export class SubscriptionsService {
}
async getDpagePlanById(id: string) {
const plan = await this.subscriptionsPlanRepository.findOne({ where: { id, service:{slug:'Dpage'} } });
return plan;
return this.subscriptionsPlanRepository.findOne({ where: { id, service:{slug:'Dpage'} } });
}
//************************************ */