diff --git a/lib/index.js b/lib/index.js index 0bf44d6..0d8a4f9 100644 --- a/lib/index.js +++ b/lib/index.js @@ -17,5 +17,5 @@ exports = module.exports = function common(id) { exports.used = function(container) { // Register specs so objects can be auto-wired by interface. - container.register('logger'); + container.spec('logger'); }