diff --git a/Functions/RIPA.Functions.Submission/RIPA.Functions.Submission.csproj b/Functions/RIPA.Functions.Submission/RIPA.Functions.Submission.csproj index 7112eb33..381efe8c 100644 --- a/Functions/RIPA.Functions.Submission/RIPA.Functions.Submission.csproj +++ b/Functions/RIPA.Functions.Submission/RIPA.Functions.Submission.csproj @@ -17,7 +17,7 @@ - + diff --git a/Functions/RIPA.Functions.Submission/Services/SFTP/SftpService.cs b/Functions/RIPA.Functions.Submission/Services/SFTP/SftpService.cs index 48fe42d5..b29230c5 100644 --- a/Functions/RIPA.Functions.Submission/Services/SFTP/SftpService.cs +++ b/Functions/RIPA.Functions.Submission/Services/SFTP/SftpService.cs @@ -92,7 +92,7 @@ public IEnumerable ListAllFiles(string remoteDirectory = ".") { Connect(); - return (IEnumerable)_sftpClient.ListDirectory(remoteDirectory); + return _sftpClient.ListDirectory(remoteDirectory); } catch (Exception exception) {