diff --git a/src/Altinn.App.Api/Controllers/HomeController.cs b/src/Altinn.App.Api/Controllers/HomeController.cs index ce9ce7a69..f0f931b35 100644 --- a/src/Altinn.App.Api/Controllers/HomeController.cs +++ b/src/Altinn.App.Api/Controllers/HomeController.cs @@ -105,7 +105,7 @@ private async Task ShouldShowAppView() return true; } - Application application = await _appMetadata.GetApplicationMetadata(); + ApplicationMetadata application = await _appMetadata.GetApplicationMetadata(); if (!IsStatelessApp(application)) { return false; @@ -121,7 +121,7 @@ private async Task ShouldShowAppView() return false; } - private bool IsStatelessApp(Application application) + private bool IsStatelessApp(ApplicationMetadata application) { if (application?.OnEntry == null) { @@ -131,7 +131,7 @@ private bool IsStatelessApp(Application application) return !_onEntryWithInstance.Contains(application.OnEntry.Show); } - private DataType? GetStatelessDataType(Application application) + private DataType? GetStatelessDataType(ApplicationMetadata application) { string layoutSetsString = _appResources.GetLayoutSets(); JsonSerializerOptions options = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase };