Skip to content

Commit

Permalink
Merge pull request #3 from bvdcode/fix_webdav
Browse files Browse the repository at this point in the history
Stop returning the source folder when asked to return its contents
  • Loading branch information
bvdcode authored Oct 15, 2024
2 parents 6688ab2 + c817011 commit 6618f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/EasyExtensions.WebDav/WebDavCloudClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public async Task<IEnumerable<WebDavResource>> GetResourcesAsync(string folder)
{
return Array.Empty<WebDavResource>();
}
return result.Resources;
return result.Resources.Where(x => x.Uri != url);
}

/// <summary>
Expand Down

0 comments on commit 6618f15

Please sign in to comment.