mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Removed debugging
This commit is contained in:
parent
74b96a7413
commit
ed3afd1e2e
|
@ -93,12 +93,9 @@ class SettingsController extends Controller
|
|||
|
||||
public function slacktest(Request $request)
|
||||
{
|
||||
\Log::debug($request->input('slack_channel'));
|
||||
\Log::debug($request->input('slack_endpoint'));
|
||||
\Log::debug($request->input('slack_botname'));
|
||||
|
||||
$slack = new Client([
|
||||
'base_url' => $request->input('slack_endpoint'),
|
||||
'base_url' => e($request->input('slack_endpoint')),
|
||||
'defaults' => [
|
||||
'exceptions' => false
|
||||
]
|
||||
|
@ -107,9 +104,9 @@ class SettingsController extends Controller
|
|||
|
||||
$payload = json_encode(
|
||||
[
|
||||
'channel' => $request->input('slack_channel'),
|
||||
'channel' => e($request->input('slack_channel')),
|
||||
'text' => trans('general.slack_test_msg'),
|
||||
'username' => $request->input('slack_botname'),
|
||||
'username' => e($request->input('slack_botname')),
|
||||
'icon_emoji' => ':heart:'
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue