Skip to content

Commit

Permalink
fixed type in UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
philgei committed Oct 11, 2023
1 parent 1d49136 commit 331331f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AdLerBackend.Infrastructure/Moodle/MoodleWebApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public async Task<IEnumerable<LmsUuidResponse>> 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<ResponseWithDataArray<PluginUUIDResponse>>(wsParams);
Expand Down

0 comments on commit 331331f

Please sign in to comment.