diff --git a/backend/src/Designer/Services/Implementation/OptionsService.cs b/backend/src/Designer/Services/Implementation/OptionsService.cs index 591daad2a30..7685a021f14 100644 --- a/backend/src/Designer/Services/Implementation/OptionsService.cs +++ b/backend/src/Designer/Services/Implementation/OptionsService.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.Json; @@ -51,14 +52,15 @@ public async Task> GetOptionsList(string org, string repo, string d cancellationToken.ThrowIfCancellationRequested(); var altinnAppGitRepository = _altinnGitRepositoryFactory.GetAltinnAppGitRepository(org, repo, developer); - string optionsListString = await altinnAppGitRepository.GetOptionsList(optionsListId, cancellationToken); - var optionsList = JsonSerializer.Deserialize>(optionsListString); + List