println delete

This commit is contained in:
shinmj
2021-11-18 17:33:17 +09:00
parent 1550c1a5c2
commit 45a77040f2
2 changed files with 1 additions and 2 deletions

View File

@@ -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);

View File

@@ -846,7 +846,7 @@ public class UserService extends AbstractService implements UserDetailsService {
.build();
user.setSocial(providerCode, providerId);
userRepository.save(user);
user = userRepository.save(user);
}