Skip to content
Snippets Groups Projects
Commit 3056863d authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Merge branch 'Hotfix/1805-listingBreaks' into 'Sprint/2021-23'

Fix: Correct listing call (coscine/issues#1805)

See merge request !53
parents 056a0894 27934b00
No related branches found
No related tags found
2 merge requests!53Fix: Correct listing call (coscine/issues#1805),!52Sprint/2021 23
...@@ -149,7 +149,7 @@ namespace Coscine.Api.Tree.Controllers ...@@ -149,7 +149,7 @@ namespace Coscine.Api.Tree.Controllers
return BadRequest($"No provider for: \"{resource.Type.DisplayName}\"."); return BadRequest($"No provider for: \"{resource.Type.DisplayName}\".");
} }
var fileInfos = await resourceTypeDefinition.ListEntries(null, path, resourceTypeOptions); var fileInfos = await resourceTypeDefinition.ListEntries(resourceId, path, resourceTypeOptions);
var metadataInfos = new List<ResourceEntry>(fileInfos); var metadataInfos = new List<ResourceEntry>(fileInfos);
if (path.EndsWith("/")) if (path.EndsWith("/"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment