|
|
@ -37,7 +37,7 @@ namespace Squidex.Areas.Api.Controllers.Plans.Models |
|
|
|
|
|
|
|
|
public static AppPlansDto FromApp(IAppEntity app, IAppPlansProvider plans, bool hasPortal) |
|
|
public static AppPlansDto FromApp(IAppEntity app, IAppPlansProvider plans, bool hasPortal) |
|
|
{ |
|
|
{ |
|
|
var planId = app.Plan?.PlanId; |
|
|
var planId = plans.GetPlanForApp(app).Id; |
|
|
|
|
|
|
|
|
var response = new AppPlansDto |
|
|
var response = new AppPlansDto |
|
|
{ |
|
|
{ |
|
|
|