Skip to content

Commit

Permalink
fix: change itemFetch method from core.item.fetch to core.itemName.fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
stambata committed Nov 17, 2016
1 parent fdf3768 commit 4408a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/script/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
'item.fetch': function(msg, $meta) {
$meta.method = 'core.item.fetch';
$meta.method = 'core.itemName.fetch';
return this.bus.importMethod($meta.method)(msg, $meta);
}
};
2 changes: 1 addition & 1 deletion ui/react/pages/Main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Main = React.createClass({
fetchData() {
this.props.actions.fetchRules();
this.props.actions.fetchNomenclatures({
typeList: [
alias: [
'currency',
'channel',
'country',
Expand Down

0 comments on commit 4408a18

Please sign in to comment.