From ff00cb55b9edc5e7c8498ba9295452e574396da4 Mon Sep 17 00:00:00 2001 From: Mudiaga Obriki Date: Wed, 11 Dec 2024 16:34:39 +0100 Subject: [PATCH] Fixed failing test --- .../Services/TranslationPlatformServiceV1.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Serval/src/Serval.Translation/Services/TranslationPlatformServiceV1.cs b/src/Serval/src/Serval.Translation/Services/TranslationPlatformServiceV1.cs index 7082c015..29023e6a 100644 --- a/src/Serval/src/Serval.Translation/Services/TranslationPlatformServiceV1.cs +++ b/src/Serval/src/Serval.Translation/Services/TranslationPlatformServiceV1.cs @@ -285,11 +285,7 @@ ServerCallContext context await _builds.UpdateAsync( b => b.Id == request.BuildId, - u => - { - foreach (KeyValuePair entry in request.ExecutionData) - u.Set(b => b.ExecutionData[entry.Key], entry.Value); - }, + u => u.Set(b => b.ExecutionData, updatedExecutionData), cancellationToken: context.CancellationToken );