From 3b215d9bf8e82bd72bf03ddabdce07f7b130c2ec Mon Sep 17 00:00:00 2001 From: Ronny Birkeli Date: Tue, 8 Nov 2022 13:04:04 +0100 Subject: [PATCH] Add missing part of process nest url. --- .../Implementation/EformidlingStatusCheckEventHandler.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Altinn.App.Core/EFormidling/Implementation/EformidlingStatusCheckEventHandler.cs b/src/Altinn.App.Core/EFormidling/Implementation/EformidlingStatusCheckEventHandler.cs index 2d1cb426b..fd9c42370 100644 --- a/src/Altinn.App.Core/EFormidling/Implementation/EformidlingStatusCheckEventHandler.cs +++ b/src/Altinn.App.Core/EFormidling/Implementation/EformidlingStatusCheckEventHandler.cs @@ -8,6 +8,7 @@ using Altinn.App.Core.Helpers; using Altinn.App.Core.Infrastructure.Clients.Maskinporten; using Altinn.App.Core.Infrastructure.Clients.Storage; +using Altinn.App.Core.Interface; using Altinn.App.Core.Models; using Altinn.Common.EFormidlingClient; using Altinn.Common.EFormidlingClient.Models; @@ -15,6 +16,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json; +using System; using System.Net; using System.Net.Http.Headers; using System.Security.Cryptography.X509Certificates; @@ -109,7 +111,7 @@ public async Task ProcessEvent(CloudEvent cloudEvent) private async Task ProcessMoveNext(AppIdentifier appIdentifier, InstanceIdentifier instanceIdentifier) { - string url = $"https://{appIdentifier.Org}.apps.{_generalSettings.HostName}/{appIdentifier}/instances/{instanceIdentifier}/process"; + string url = $"https://{appIdentifier.Org}.apps.{_generalSettings.HostName}/{appIdentifier}/instances/{instanceIdentifier}/process/next"; HttpClient httpClient = _httpClientFactory.CreateClient();