Skip to content

Commit

Permalink
docs: fix code snippet typos
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Jun 5, 2020
1 parent b60bea8 commit f226bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm install @opengovsg/formsg-sdk --save
## Configuration

```javascript
const formsg = require('@opengovsg/formsg')({
const formsg = require('@opengovsg/formsg-sdk')({
mode: 'production',
})
```
Expand All @@ -37,7 +37,7 @@ const app = require('express')()

// Instantiating formsg-sdk without parameters default to using the package's
// production public signing key.
const formsg = require('@opengovsg/formsg')()
const formsg = require('@opengovsg/formsg-sdk')()

// This is where your domain is hosted, and should match
// the URI supplied to FormSG in the form dashboard
Expand Down

0 comments on commit f226bd8

Please sign in to comment.