@@ -51,7 +51,7 @@ |
||
51 | 51 | if ($validator->fails()) |
52 | 52 | { |
53 | 53 | return redirect()->back()->with('error','Sorry! Please enter a valid mail or you have used this mail here'); |
54 | - }else{ |
|
54 | + } else{ |
|
55 | 55 | $email = $request->input('email'); |
56 | 56 | $this->client->request('POST', |
57 | 57 | config('LaravelSlack.slack_team_url').'/api/users.admin.invite?t='.time().'&email='.$email.'&token='.config('LaravelSlack.slack_api_token').'&set_active=true&_attempts=1' |
@@ -51,7 +51,7 @@ |
||
51 | 51 | if ($validator->fails()) |
52 | 52 | { |
53 | 53 | return redirect()->back()->with('error','Sorry! Please enter a valid mail or you have used this mail here'); |
54 | - }else{ |
|
54 | + } else{ |
|
55 | 55 | $email = $request->input('email'); |
56 | 56 | $this->client->request('POST', |
57 | 57 | config('LaravelSlack.slack_team_url').'/api/users.admin.invite?t='.time().'&email='.$email.'&token='.config('LaravelSlack.slack_api_token').'&set_active=true&_attempts=1' |