Skip to content

Commit

Permalink
fix: loading of single dm
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-scherzinger committed Feb 9, 2017
1 parent 43bf6f7 commit 51d3b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataManager.js
Expand Up @@ -69,7 +69,7 @@ export default class DataManager extends Core {
const request = this.newRequest()
.follow('ec:datamanager/by-id')
.withTemplateParameters({ dataManagerID });
return get(request);
return get(this.environment, request);
})
.then(([res, traversal]) => new DataManagerResource(res, traversal));
}
Expand Down

0 comments on commit 51d3b01

Please sign in to comment.