From ee15f12f9a0e5b8801430006ea968709d154f1e0 Mon Sep 17 00:00:00 2001
From: Nate Wolford <104584843+nwolfosh@users.noreply.github.com>
Date: Thu, 14 Nov 2024 14:49:35 -0800
Subject: [PATCH] revert sftpClient change
---
.../RIPA.Functions.Submission/RIPA.Functions.Submission.csproj | 2 +-
.../RIPA.Functions.Submission/Services/SFTP/SftpService.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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)
{