Permalink
Browse files

Change invite with restricted to read from env.

  • Loading branch information...
xeodou committed Feb 9, 2015
1 parent 86623a9 commit 0b9028fc47e6f52f8eeb2be1382634e217015661
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/slack-invite.js
@@ -6,7 +6,7 @@ export default function invite({ org, token, email, channel }, fn){
if (channel) {
data.channel = channel;
data.ultra_restricted = 1;
data.ultra_restricted = !!process.env.RESTRICT ? 1 : 0;
data.set_active = true;
}

0 comments on commit 0b9028f

Please sign in to comment.