fixed file upload to moodle

This commit is contained in:
anhefti 2024-06-25 17:02:49 +02:00
parent 7fbf49397c
commit b33998be07

View file

@ -252,7 +252,7 @@ public class MoodlePluginFullIntegration implements FullLmsIntegrationAPI {
multiPartAttributes.add("filename", fileName);
final MultiValueMap<String, String> queryAttributes = new LinkedMultiValueMap<>();
multiPartAttributes.add("quizid", quizId);
queryAttributes.add("quizid", quizId);
final ByteArrayResource contentsAsResource = new ByteArrayResource(configData) {
@Override
public String getFilename() {