refacts
This commit is contained in:
parent
1bd9c00cd8
commit
bcadc733bb
6 changed files with 15 additions and 18 deletions
|
|
@ -57,7 +57,7 @@ namespace Yavsc.ApiControllers
|
|||
List<FileReceivedInfo> received = new List<FileReceivedInfo>();
|
||||
InvalidPathException pathex = null;
|
||||
try {
|
||||
destDir = User.InitPostToFileSystem(subdir);
|
||||
destDir = User.EnsureDestinationDirectory(subdir);
|
||||
} catch (InvalidPathException ex) {
|
||||
pathex = ex;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue