Skip to content

Commit

Permalink
fix(rest): fix a variable in sample code for README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bvenkatr authored and raymondfeng committed Apr 17, 2019
1 parent 866aa2f commit 2bad701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.handler(({request, response}, sequence) => {
(async function start() {
await app.start();

const rest = await app.getServer(RestServer);
const server = await app.getServer(RestServer);
const port = await server.get('rest.port');
console.log(`Server is running at http://127.0.0.1:${port}`);
})();
Expand Down

0 comments on commit 2bad701

Please sign in to comment.