Skip to content

Commit

Permalink
fix: fixed the way hoodie service gets apps config. The old way didnt…
Browse files Browse the repository at this point in the history
… work on test environment.
  • Loading branch information
brunopedroso authored and gr2m committed May 5, 2017
1 parent bec8d08 commit 1b36f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/services/hoodie.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b36f05

Please sign in to comment.