Skip to content
Snippets Groups Projects
Commit 28541ad9 authored by Hanna Führ's avatar Hanna Führ
Browse files

Fix: small fix for api

parent d0e3096e
No related branches found
No related tags found
1 merge request!116Fix: Make Inherited AP's metadata work
......@@ -338,7 +338,12 @@ namespace Coscine.Api.Tree.Controllers
}
else
{
var tempGraph = new Graph();
var tempGraph = new Graph
{
BaseUri = graphNameUri
};
tempGraph = new Graph();
StringParser.Parse(tempGraph, metadataObject.Value<string>("metadata"), MimeTypesHelper.GetParser(mimeType));
var triplesList = tempGraph.Triples.ToArray();
var subjectNode = tempGraph.CreateUriNode(graphNameUri);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment