update : get plan detail
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled
This commit is contained in:
@@ -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'} } });
|
||||
|
||||
}
|
||||
//************************************ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user