Skip to content

Commit

Permalink
Added resource var in URI creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil-IBM committed Dec 13, 2016
1 parent da6d771 commit fe84bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ var ldpRoutes = function(db, env) {

// generates and reserves a unique URI with base URI 'container'
function uniqueURI(container, callback) {
var candidate = addPath(container, 'res' + Date.now());
var candidate = addPath(container, env.resources + 'res' + Date.now());
db.reserveURI(candidate, function(err) {
callback(err, candidate);
});
Expand Down

0 comments on commit fe84bc0

Please sign in to comment.