Skip to content

Commit

Permalink
remove error comma
Browse files Browse the repository at this point in the history
Server error

```
  );
  ^
SyntaxError: Unexpected token )
    at Object.exports.runInThisContext (vm.js:76:16)
```
  • Loading branch information
phodal authored Nov 14, 2017
1 parent 61aae8d commit a1d34ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-node-graphql-api-with-dynamodb/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ module.exports.query = (event, context, callback) =>
graphql(schema, event.queryStringParameters.query)
.then(
result => callback(null, { statusCode: 200, body: JSON.stringify(result) }),
err => callback(err),
err => callback(err)
);

0 comments on commit a1d34ea

Please sign in to comment.