From 331331f96f6ebe544c5e4f926922785a655ee737 Mon Sep 17 00:00:00 2001 From: philgei Date: Wed, 11 Oct 2023 16:36:32 +0200 Subject: [PATCH] fixed type in UUID --- AdLerBackend.Infrastructure/Moodle/MoodleWebApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdLerBackend.Infrastructure/Moodle/MoodleWebApi.cs b/AdLerBackend.Infrastructure/Moodle/MoodleWebApi.cs index 006655f0..b3b7710d 100644 --- a/AdLerBackend.Infrastructure/Moodle/MoodleWebApi.cs +++ b/AdLerBackend.Infrastructure/Moodle/MoodleWebApi.cs @@ -278,7 +278,7 @@ public async Task> GetLmsElementIdsByUuidsAsync(str { wsParams.Add($"elements[{i}][course_id]", new StringContent(courseInstanceId.ToString())); wsParams.Add($"elements[{i}][element_type]", new StringContent("cm")); - wsParams.Add($"elements[{i}][Uuid]", new StringContent(uuids.ElementAt(i))); + wsParams.Add($"elements[{i}][uuid]", new StringContent(uuids.ElementAt(i))); } var ret = await MoodleCallAsync>(wsParams);