Skip to content

Commit 0c0de10

Browse files
author
deiu
committed
Use the relative URI for the container too
1 parent 064b0a7 commit 0c0de10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/ldp.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ LDP.prototype.listContainer = function (filename, uri, containerData, callback)
193193

194194
// Add to `contains` list
195195
resourceGraph.add(
196-
resourceGraph.sym(baseUri),
196+
resourceGraph.sym(''),
197197
ns.ldp('contains'),
198198
resourceGraph.sym(fileSubject));
199199

@@ -275,7 +275,7 @@ LDP.prototype.listContainer = function (filename, uri, containerData, callback)
275275
function (next) {
276276
ldp.stat(filename, function(err, containerStats) {
277277
if (!err) {
278-
addStats(resourceGraph, baseUri, containerStats);
278+
addStats(resourceGraph, '', containerStats);
279279
}
280280
next();
281281
});

0 commit comments

Comments
 (0)