From 6819cfa7c0d9830907857092fdffb78e43a20917 Mon Sep 17 00:00:00 2001 From: Konrad-Simso Date: Fri, 11 Oct 2024 22:34:35 +0200 Subject: [PATCH] - Less generic catch. - Reformat foreach and if into where statement. --- backend/src/Designer/Controllers/OptionsController.cs | 3 ++- .../Designer/Services/Implementation/OptionsService.cs | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/src/Designer/Controllers/OptionsController.cs b/backend/src/Designer/Controllers/OptionsController.cs index 797943a6b59..306a517a802 100644 --- a/backend/src/Designer/Controllers/OptionsController.cs +++ b/backend/src/Designer/Controllers/OptionsController.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Altinn.Studio.Designer.Helpers; @@ -149,7 +150,7 @@ public async Task UploadFile(string org, string repo, [FromForm] List