mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Fixes #15952 - fixed typo in content-type
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
66339481cf
commit
f5a9e4bafa
|
@ -224,7 +224,7 @@ class SlackSettingsForm extends Component
|
|||
|
||||
try {
|
||||
$response = Http::withHeaders([
|
||||
'content-type' => 'applications/json',
|
||||
'content-type' => 'application/json',
|
||||
])->post($this->webhook_endpoint,
|
||||
$payload)->throw();
|
||||
|
||||
|
@ -259,7 +259,7 @@ class SlackSettingsForm extends Component
|
|||
"text" => trans('general.webhook_test_msg', ['app' => $this->webhook_name]),
|
||||
];
|
||||
$response = Http::withHeaders([
|
||||
'content-type' => 'applications/json',
|
||||
'content-type' => 'application/json',
|
||||
])->post($this->webhook_endpoint,
|
||||
$payload)->throw();
|
||||
}
|
||||
|
@ -269,7 +269,7 @@ class SlackSettingsForm extends Component
|
|||
$notification->success()->sendMessage($message);
|
||||
|
||||
$response = Http::withHeaders([
|
||||
'content-type' => 'applications/json',
|
||||
'content-type' => 'application/json',
|
||||
])->post($this->webhook_endpoint);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue