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