Skip to content
Snippets Groups Projects
Commit 40de3825 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Correct method usage

parent 400e1cc4
Branches
No related tags found
1 merge request!90New: Use the new metadata structure (coscine/issues#1792)
...@@ -142,7 +142,7 @@ namespace Coscine.Api.Tree.Controllers ...@@ -142,7 +142,7 @@ namespace Coscine.Api.Tree.Controllers
var resourceTypeInformation = resourceTypeDefinition.GetResourceTypeInformation().Result; var resourceTypeInformation = resourceTypeDefinition.GetResourceTypeInformation().Result;
var metadataInfos = new List<ResourceEntry>(fileInfos); var metadataInfos = new List<ResourceEntry>(fileInfos);
var metadataIds = _rdfStoreConnector.GetMaxMetadataIds(resourceId); var metadataIds = _rdfStoreConnector.ListMetadata(resourceId);
// Add to metadata infos, if no "physical" file for it exists // Add to metadata infos, if no "physical" file for it exists
if (!metadataInfos.Any((metadataInfo) => metadataInfo.Key == path)) if (!metadataInfos.Any((metadataInfo) => metadataInfo.Key == path))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment