diff --git a/src/Altinn.App.Core/Infrastructure/Clients/Events/EventsSubscriptionClient.cs b/src/Altinn.App.Core/Infrastructure/Clients/Events/EventsSubscriptionClient.cs index c104cecb0..872bc7121 100644 --- a/src/Altinn.App.Core/Infrastructure/Clients/Events/EventsSubscriptionClient.cs +++ b/src/Altinn.App.Core/Infrastructure/Clients/Events/EventsSubscriptionClient.cs @@ -54,7 +54,7 @@ public async Task AddSubscription(string org, string app, string e var subscriptionRequest = new SubscriptionRequest() { TypeFilter = eventType, - EndPoint = new Uri(new Uri(appBaseUrl), $"/api/v1/eventsreceiver?code={await _secretCodeProvider.GetSecretCode()}"), + EndPoint = new Uri(new Uri(appBaseUrl), $"api/v1/eventsreceiver?code={await _secretCodeProvider.GetSecretCode()}"), SourceFilter = new Uri(appBaseUrl) };