Skip to content

Commit

Permalink
docs(quickstart): fix app.Service (#1661)
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 authored and dead-horse committed Nov 14, 2017
1 parent 49b0071 commit 12c0a8a
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/intro/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ exports.robot = {
// app/service/some.js
const Service = require('egg').Service;

class SomeService extends app.Service {
class SomeService extends Service {
async list() {
const rule = this.config.robot.ua;
}
Expand Down
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 @@ -384,7 +384,7 @@ exports.robot = {
// app/service/some.js
const Service = require('egg').Service;

class SomeService extends app.Service {
class SomeService extends Service {
async list() {
const rule = this.config.robot.ua;
}
Expand Down

0 comments on commit 12c0a8a

Please sign in to comment.