Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhaeger committed Jan 28, 2025
1 parent 030a76b commit 066cd97
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Altinn.App.Api/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ namespace Altinn.App.Api.Controllers;
/// <summary>
/// Provides access to the default home view.
/// </summary>
[ApiController]
public class HomeController : Controller
{
private static readonly JsonSerializerOptions _jsonSerializerOptions = new()
Expand All @@ -31,8 +30,6 @@ public class HomeController : Controller
private readonly IAppMetadata _appMetadata;
private readonly List<string> _onEntryWithInstance = new List<string> { "new-instance", "select-instance" };

//private readonly ApplicationMetadata _applicationMetadata;

/// <summary>
/// Initialize a new instance of the <see cref="HomeController"/> class.
/// </summary>
Expand All @@ -57,7 +54,6 @@ IAppMetadata appMetadata
_appSettings = appSettings.Value;
_appResources = appResources;
_appMetadata = appMetadata;
// _applicationMetadata = applicationMetadata;
}

/// <summary>
Expand Down Expand Up @@ -125,10 +121,8 @@ public async Task<IActionResult> SetQueryParams(string org, string app)
{
var queryParams = HttpContext.Request.Query;

// Get application metadata
Application application = await _appMetadata.GetApplicationMetadata();

// Get the data types from the application
List<string> dataTypes = application.DataTypes.Select(type => type.Id).ToList();

// Build the modelPrefill dictionary
Expand Down

0 comments on commit 066cd97

Please sign in to comment.