Browse Source

Fixes cancellation token.

pull/906/head
Sebastian 4 years ago
parent
commit
ec7fcf1242
  1. 4
      backend/src/Squidex.Domain.Apps.Entities/Apps/DomainObject/AppDomainObject.cs

4
backend/src/Squidex.Domain.Apps.Entities/Apps/DomainObject/AppDomainObject.cs

@ -290,7 +290,7 @@ namespace Squidex.Domain.Apps.Entities.Apps.DomainObject
if (!c.FromCallback)
{
var redirectUri = await Billing().MustRedirectToPortalAsync(userId, Snapshot.NamedId(), c.PlanId, default);
var redirectUri = await Billing().MustRedirectToPortalAsync(userId, Snapshot.NamedId(), c.PlanId, ct);
if (redirectUri != null)
{
@ -301,7 +301,7 @@ namespace Squidex.Domain.Apps.Entities.Apps.DomainObject
ChangePlan(c);
return new PlanChangedResult(c.PlanId);
});
}, ct);
if (changePlan.FromCallback)
{

Loading…
Cancel
Save