mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Only set content-type for documents in sparql store
This commit is contained in:
@@ -95,7 +95,9 @@ export class SparqlDataAccessor implements DataAccessor {
|
||||
}
|
||||
|
||||
const metadata = new RepresentationMetadata(identifier.path).addQuads(quads);
|
||||
metadata.contentType = INTERNAL_QUADS;
|
||||
if (!isContainerIdentifier(identifier)) {
|
||||
metadata.contentType = INTERNAL_QUADS;
|
||||
}
|
||||
|
||||
// Need to generate type metadata for the root container since it's not stored
|
||||
if (identifier.path === this.base) {
|
||||
|
||||
Reference in New Issue
Block a user