Skip to content

Commit

Permalink
Fixes #15952 - fixed typo in content-type
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Dec 11, 2024
1 parent 6633948 commit f5a9e4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Livewire/SlackSettingsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function googleWebhookTest(){

try {
$response = Http::withHeaders([
'content-type' => 'applications/json',
'content-type' => 'application/json',
])->post($this->webhook_endpoint,
$payload)->throw();

Expand Down Expand Up @@ -259,7 +259,7 @@ public function msTeamTestWebhook(){
"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();
}
Expand All @@ -269,7 +269,7 @@ public function msTeamTestWebhook(){
$notification->success()->sendMessage($message);

$response = Http::withHeaders([
'content-type' => 'applications/json',
'content-type' => 'application/json',
])->post($this->webhook_endpoint);
}

Expand Down

0 comments on commit f5a9e4b

Please sign in to comment.