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

Give correct URL param on validation

parent ded9ecb0
Branches
Tags
1 merge request!104Fix: TargetClass independent of Base Url
...@@ -436,7 +436,7 @@ namespace Coscine.Api.Tree.Controllers ...@@ -436,7 +436,7 @@ namespace Coscine.Api.Tree.Controllers
// Default values is not checked or added // Default values is not checked or added
// validate the data // validate the data
if (!_rdfStoreConnector.ValidateShacl(graph, graphNameUri)) if (!_rdfStoreConnector.ValidateShacl(graph, graphNameUri, new Uri(resource.ApplicationProfile)))
{ {
return BadRequest("Data has the wrong format!"); return BadRequest("Data has the wrong format!");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment