Skip to content

Commit 32857c4

Browse files
committed
Merge pull request rauchg#168 from mcmahoniel/master
Change case on the "already invited" message
2 parents 3f83e63 + 317cc02 commit 32857c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/slack-invite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function invite({ org, token, email, channel }, fn){
3030
if (providedError === 'missing_scope' && needed === 'admin') {
3131
fn(new Error(`Missing admin scope: The token you provided is for an account that is not an admin. You must provide a token from an admin account in order to invite users through the Slack API.`));
3232
} else if (providedError === 'already_invited') {
33-
fn(new Error('You have already been invited to slack. Check for an email from feedback@slack.com.'));
33+
fn(new Error('You have already been invited to Slack. Check for an email from feedback@slack.com.'));
3434
} else if (providedError === 'already_in_team') {
3535
fn(new Error(`Sending you to Slack...`));
3636
} else {

0 commit comments

Comments
 (0)