Skip to content

Commit

Permalink
Fixed bug creating external repository bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
silvae86 committed Jan 23, 2018
1 parent ae56ece commit 2213876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/harvesting/external_repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ExternalRepository.prototype.getHumanReadableUri = function (callback)
if (!isNull(self.dcterms.creator) && !isNull(self.dcterms.title))
{
const slug = require("slug");
callback(null, "/external_repository/" + object.dcterms.creator + "/" + slug(self.dcterms.title));
callback(null, "/external_repository/" + self.dcterms.creator + "/" + slug(self.dcterms.title));
}
else
{
Expand Down

0 comments on commit 2213876

Please sign in to comment.