Skip to content

Commit

Permalink
docs(quickstart): fix typo in code example (#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyhpoon authored and atian25 committed Nov 29, 2017
1 parent 6ff6998 commit 7ebfc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/zh-cn/intro/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ module.exports = app => {
// app/service/news.js
const Service = require('egg').Service;

class NewsService extends app.Service {
class NewsService extends Service {
async list(page = 1) {
// read config
const { serverUrl, pageSize } = this.config.news;
Expand Down

0 comments on commit 7ebfc9b

Please sign in to comment.