Skip to content

Commit

Permalink
fixes import error in @slack/webhook README
Browse files Browse the repository at this point in the history
  • Loading branch information
aoberoi committed Apr 17, 2019
1 parent f697bc6 commit d035bad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_packages/webhook.md
Expand Up @@ -34,7 +34,7 @@ Or, the URL could be in the response from [`oauth.access`](https://api.slack.com
distributed and installed into another workspace.

```javascript
const IncomingWebhook = require('@slack/webhook');
const { IncomingWebhook } = require('@slack/webhook');

// Read a url from the environment variables
const url = process.env.SLACK_WEBHOOK_URL;
Expand Down
2 changes: 1 addition & 1 deletion packages/webhook/README.md
Expand Up @@ -32,7 +32,7 @@ Or, the URL could be in the response from [`oauth.access`](https://api.slack.com
distributed and installed into another workspace.

```javascript
const IncomingWebhook = require('@slack/webhook');
const { IncomingWebhook } = require('@slack/webhook');

// Read a url from the environment variables
const url = process.env.SLACK_WEBHOOK_URL;
Expand Down

0 comments on commit d035bad

Please sign in to comment.