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