Skip to content

Commit

Permalink
Fix reading of unions
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Apr 29, 2024
1 parent 566ceba commit 4eff2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparnatural/spec-providers/StoreModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class StoreModel {
);

if (propertyQuads.length > 0) {
return propertyQuads[0].subject.value;
return propertyQuads[0].subject;
} else {
return null;
}
Expand Down

0 comments on commit 4eff2fd

Please sign in to comment.