Skip to content

Commit c5e6669

Browse files
committed
Added missing signature for File type upload.
1 parent d8dfd0c commit c5e6669

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

grails-app/services/com/wizpanda/file/FileUploadService.groovy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ class FileUploadService {
1717
return services.get(groupName).instance().save(multipartFile)
1818
}
1919

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+
2026
@PostConstruct
2127
void verifyConfig() {
2228
//log.debug "Verifying all service"

0 commit comments

Comments
 (0)