mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
changes
This commit is contained in:
parent
6e9a46e582
commit
e8159d97fa
|
@ -154,7 +154,7 @@ class SlackSettingsForm extends Component
|
|||
}
|
||||
public function googleWebhookTest(){
|
||||
$url = $this->webhook_endpoint;
|
||||
$data = [ 'text' => trans('general.webhook_test_msg', ['app' => $this->webhook_name])];
|
||||
$data = json_encode([ 'text' => trans('general.webhook_test_msg', ['app' => $this->webhook_name])]);
|
||||
$headers = [
|
||||
'Authorization' => 'Bearer'. 'AIzaSyBu-61gEOhYGfrmT3fHQj6vS8TDWpo1B5U',
|
||||
'Content-Type' => 'application/json',
|
||||
|
|
Loading…
Reference in a new issue