From ec7fcf12424f7ef543416e245fbf925ed60d4dcd Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 28 Jul 2022 17:43:34 +0200 Subject: [PATCH] Fixes cancellation token. --- .../Apps/DomainObject/AppDomainObject.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/Squidex.Domain.Apps.Entities/Apps/DomainObject/AppDomainObject.cs b/backend/src/Squidex.Domain.Apps.Entities/Apps/DomainObject/AppDomainObject.cs index f1dc9a1c4..70dfb343c 100644 --- a/backend/src/Squidex.Domain.Apps.Entities/Apps/DomainObject/AppDomainObject.cs +++ b/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) {