fixed file upload to moodle
This commit is contained in:
		
							parent
							
								
									7fbf49397c
								
							
						
					
					
						commit
						b33998be07
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -252,7 +252,7 @@ public class MoodlePluginFullIntegration implements FullLmsIntegrationAPI { | ||||||
|             multiPartAttributes.add("filename", fileName); |             multiPartAttributes.add("filename", fileName); | ||||||
| 
 | 
 | ||||||
|             final MultiValueMap<String, String> queryAttributes = new LinkedMultiValueMap<>(); |             final MultiValueMap<String, String> queryAttributes = new LinkedMultiValueMap<>(); | ||||||
|             multiPartAttributes.add("quizid", quizId); |             queryAttributes.add("quizid", quizId); | ||||||
|             final ByteArrayResource contentsAsResource = new ByteArrayResource(configData) { |             final ByteArrayResource contentsAsResource = new ByteArrayResource(configData) { | ||||||
|                 @Override |                 @Override | ||||||
|                 public String getFilename() { |                 public String getFilename() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti