diff --git a/backend/packagegroups/NuGet.props b/backend/packagegroups/NuGet.props
index a00cf3b7690..987d677484b 100644
--- a/backend/packagegroups/NuGet.props
+++ b/backend/packagegroups/NuGet.props
@@ -14,7 +14,7 @@
-
+
diff --git a/backend/src/Designer/Services/Implementation/SourceControlSI.cs b/backend/src/Designer/Services/Implementation/SourceControlSI.cs
index 7f28fa9f71a..dac5b6363b6 100644
--- a/backend/src/Designer/Services/Implementation/SourceControlSI.cs
+++ b/backend/src/Designer/Services/Implementation/SourceControlSI.cs
@@ -57,7 +57,7 @@ public string CloneRemoteRepository(string org, string repository)
{
string remoteRepo = FindRemoteRepoLocation(org, repository);
CloneOptions cloneOptions = new();
- cloneOptions.CredentialsProvider = CredentialsProvider();
+ cloneOptions.FetchOptions.CredentialsProvider = CredentialsProvider();
string localPath = FindLocalRepoLocation(org, repository);
string cloneResult = LibGit2Sharp.Repository.Clone(remoteRepo, localPath, cloneOptions);
@@ -70,7 +70,7 @@ public string CloneRemoteRepository(string org, string repository, string destin
{
string remoteRepo = FindRemoteRepoLocation(org, repository);
CloneOptions cloneOptions = new();
- cloneOptions.CredentialsProvider = CredentialsProvider();
+ cloneOptions.FetchOptions.CredentialsProvider = CredentialsProvider();
if (!string.IsNullOrEmpty(branchName))
{