Skip to content

Commit

Permalink
Change case on the "already invited" message
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmahoniel committed Mar 17, 2016
1 parent 845d23e commit 317cc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/slack-invite.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function invite({ org, token, email, channel }, fn){
if (providedError === 'missing_scope' && needed === 'admin') {
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.`));
} else if (providedError === 'already_invited') {
fn(new Error('You have already been invited to slack. Check for an email from [email protected].'));
fn(new Error('You have already been invited to Slack. Check for an email from [email protected].'));
} else if (providedError === 'already_in_team') {
fn(new Error(`Sending you to Slack...`));
} else {
Expand Down

0 comments on commit 317cc02

Please sign in to comment.