Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
clarify language: just -> only
  • Loading branch information
helfer authored Dec 19, 2016
1 parent bca851b commit 2adbb0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const PORT = 3000;

var app = express();

// bodyParser is needed just for POST.
// bodyParser is needed only for POST.
app.use('/graphql', bodyParser.json(), graphqlExpress({ schema: myGraphQLSchema }));

app.listen(PORT);
Expand All @@ -61,7 +61,7 @@ const PORT = 3000;

var app = connect();

// bodyParser is needed just for POST.
// bodyParser is needed only for POST.
app.use('/graphql', bodyParser.json());
app.use('/graphql', graphqlConnect({ schema: myGraphQLSchema }));

Expand Down Expand Up @@ -118,7 +118,7 @@ const app = new koa();
const router = new koaRouter();
const PORT = 3000;

// koaBody is needed just for POST.
// koaBody is needed only for POST.
app.use(koaBody());

router.post('/graphql', graphqlKoa({ schema: myGraphQLSchema }));
Expand Down

0 comments on commit 2adbb0a

Please sign in to comment.