mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Remove metadata content-type assumption from QuadUtil
This commit is contained in:
@@ -246,7 +246,7 @@ export class DataAccessorBasedStore implements ResourceStore {
|
||||
if (representation.metadata.contentType === INTERNAL_QUADS) {
|
||||
quads = await arrayifyStream(representation.data);
|
||||
} else {
|
||||
quads = await parseQuads(representation.data);
|
||||
quads = await parseQuads(representation.data, representation.metadata.contentType);
|
||||
}
|
||||
} catch (error: unknown) {
|
||||
if (error instanceof Error) {
|
||||
|
||||
Reference in New Issue
Block a user