From b33998be07b8cb54408ad4489bcff62c82bdfce5 Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 25 Jun 2024 17:02:49 +0200 Subject: [PATCH] fixed file upload to moodle --- .../lms/impl/moodle/plugin/MoodlePluginFullIntegration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java index 486bf3c5..d9f90930 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java @@ -252,7 +252,7 @@ public class MoodlePluginFullIntegration implements FullLmsIntegrationAPI { multiPartAttributes.add("filename", fileName); final MultiValueMap queryAttributes = new LinkedMultiValueMap<>(); - multiPartAttributes.add("quizid", quizId); + queryAttributes.add("quizid", quizId); final ByteArrayResource contentsAsResource = new ByteArrayResource(configData) { @Override public String getFilename() {