We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8dfd0c commit c5e6669Copy full SHA for c5e6669
grails-app/services/com/wizpanda/file/FileUploadService.groovy
@@ -17,6 +17,12 @@ class FileUploadService {
17
return services.get(groupName).instance().save(multipartFile)
18
}
19
20
+ StoredFile save(File file, String groupName) throws FileUploadException {
21
+ // TODO Add check for validating group name
22
+
23
+ return services.get(groupName).instance().save(file)
24
+ }
25
26
@PostConstruct
27
void verifyConfig() {
28
//log.debug "Verifying all service"
0 commit comments