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

Don't double invalidate on linked

parent 33970cd1
No related branches found
No related tags found
1 merge request!94Fix: Invalidate Metadata
......@@ -323,7 +323,10 @@ namespace Coscine.Api.Blob.Controllers
await resourceTypeDefinition.DeleteEntry(resource.Id.ToString(), path);
var userGraphName = $"{_rdfStoreConnector.UserUrlPrefix}/{user.Id}";
if (resourceTypeDefinition.ResourceTypeConfiguration.SpecificType?.Type != "linked")
{
_rdfStoreConnector.SetInvalidation(resource.Id.ToString(), path, "data", new Uri(userGraphName));
}
_rdfStoreConnector.SetInvalidation(resource.Id.ToString(), path, "metadata", new Uri(userGraphName));
LogAnalytics("Delete File", resourceId, path, user);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment