Skip to content

Commit

Permalink
Merge pull request #2 from nicosommi/develop
Browse files Browse the repository at this point in the history
Error on docs and dependency update
  • Loading branch information
dcrockwell committed Mar 7, 2017
2 parents 09a1f2f + dd8ecec commit f5f94b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -5,10 +5,10 @@ Normally, you will use this along with the [conan-aws-lambda](https://github.com
Check out the example:

```javascript
import conan from "conan";
import Conan from "conan";
import ConanAwsApiGatewayPlugin from "conan-aws-api-gateway";

conan = new Conan();
const conan = new Conan();
conan.use(ConanAwsApiGatewayPlugin);

conan
Expand All @@ -19,7 +19,7 @@ conan
.lambda("myLambda", "staging") //this is when you want to point the resource to an existing lambda, with alias support!
.statusCodes({
"200": "",
"500": "Internal*" //this is the selection pattern to exeute on the error message to throw a 500 http status code
"500": "Internal*" //this is the selection pattern to execute on the error message to throw a 500 http status code
})
.responseHeaders({
"Allow-Control-Allow-Origin": "*" //this will enable cors on that resource
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -51,7 +51,7 @@
"aws-sdk": "^2.2.24",
"flowsync": "^0.1.12",
"hacher": "^0.1.4",
"jargon": "^0.1.22"
"jargon": "^0.2.0"
},
"devDependencies": {
"babel": "^6.5.1",
Expand Down

0 comments on commit f5f94b8

Please sign in to comment.