Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(README): remove inaccurate comment #394

Merged
merged 1 commit into from Sep 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -45,7 +45,7 @@ added to it.
```js
var IncomingWebhook = require('@slack/client').IncomingWebhook;

var url = process.env.SLACK_WEBHOOK_URL || ''; //see section above on sensitive data
var url = process.env.SLACK_WEBHOOK_URL || '';

var webhook = new IncomingWebhook(url);

Expand All @@ -69,7 +69,7 @@ Your app will interact with the Web API through the `WebClient` object, which re
```js
var WebClient = require('@slack/client').WebClient;

var token = process.env.SLACK_API_TOKEN || ''; //see section above on sensitive data
var token = process.env.SLACK_API_TOKEN || '';

var web = new WebClient(token);
web.chat.postMessage('C1232456', 'Hello there', function(err, res) {
Expand Down