println delete
This commit is contained in:
@@ -310,7 +310,6 @@ public class FileStorageUtils implements StorageUtils {
|
||||
public boolean deleteFile(String filename) {
|
||||
Path path = getStorePath("");
|
||||
try {
|
||||
System.out.println("==== paths :" + path.resolve(filename));
|
||||
return Files.deleteIfExists(path.resolve(filename));
|
||||
} catch (IOException e) {
|
||||
log.error("Could not deleted file.", e);
|
||||
|
||||
@@ -846,7 +846,7 @@ public class UserService extends AbstractService implements UserDetailsService {
|
||||
.build();
|
||||
user.setSocial(providerCode, providerId);
|
||||
|
||||
userRepository.save(user);
|
||||
user = userRepository.save(user);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user