diff --git a/addon/services/hoodie.js b/addon/services/hoodie.js index 90dc12e..061f0d9 100644 --- a/addon/services/hoodie.js +++ b/addon/services/hoodie.js @@ -9,7 +9,7 @@ const { export default Service.extend({ init() { this._super(...arguments); - const appConfig = Ember.getOwner(this).application.resolveRegistration('config:environment'); + const appConfig = Ember.getOwner(this).resolveRegistration('config:environment'); const hoodie = new Hoodie({ url : appConfig.hoodie.client.url, PouchDB : PouchDB