Correction of the avatar file loading.
This commit is contained in:
@@ -69,7 +69,7 @@ public class FileUploadService {
|
||||
Optional<Resource> result = Optional.empty();
|
||||
|
||||
try {
|
||||
result = loadImage(pAvatarFileName, folderImages);
|
||||
result = loadImage(pAvatarFileName, folderProfileImages);
|
||||
} catch(final IOException ex) {
|
||||
LOG.error("Unable to load avatar file {}", pAvatarFileName, ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user