Skip to content

Commit

Permalink
docs:correct spelling mistake (eggjs#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
no7dw authored and dead-horse committed Mar 29, 2017
1 parent 92ef92b commit 8517625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/zh-cn/tutorials/async-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = app => {
}
```

**注意:在上面的 contorller 中,我们用 await 调用了 `service.post.create()` 方法,如果这个方法是 generaotr function 类型,则也需要改造成 async function 接口才可以被调用。**
**注意:在上面的 contorller 中,我们用 await 调用了 `service.post.create()` 方法,如果这个方法是 generator function 类型,则也需要改造成 async function 接口才可以被调用。**

## 定时任务

Expand Down

0 comments on commit 8517625

Please sign in to comment.