Skip to content

Commit

Permalink
docs: fix word error (#1965)
Browse files Browse the repository at this point in the history
  • Loading branch information
jx168 authored and atian25 committed Jan 15, 2018
1 parent 3acf45f commit 32d7c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/en/core/cluster-and-ipc.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ module.exports = app => {
// Note, only after egg-ready event occurs can the message be sent
app.messenger.once('egg-ready', () => {
app.messenger.sendToAgent('agent-event', { foo: 'bar' });
app.messenger.sendToApp('app-egent', { foo: 'bar' });
app.messenger.sendToApp('app-event', { foo: 'bar' });
});
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/source/zh-cn/core/cluster-and-ipc.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ module.exports = app => {
// 注意,只有在 egg-ready 事件拿到之后才能发送消息
app.messenger.once('egg-ready', () => {
app.messenger.sendToAgent('agent-event', { foo: 'bar' });
app.messenger.sendToApp('app-egent', { foo: 'bar' });
app.messenger.sendToApp('app-event', { foo: 'bar' });
});
}
```
Expand Down

0 comments on commit 32d7c81

Please sign in to comment.