mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
rename all instances of 'datas' to 'data'
This commit is contained in:
parent
730ac8963b
commit
61d644c247
48 changed files with 316 additions and 316 deletions
|
@ -66,12 +66,12 @@ class Webhook extends StandardController
|
|||
return false;
|
||||
}
|
||||
|
||||
$datas = [
|
||||
$data = [
|
||||
'url' => $url,
|
||||
'type' => $type,
|
||||
];
|
||||
|
||||
return $this->get_model()->update_for_user($id_user, $id, $datas);
|
||||
return $this->get_model()->update_for_user($id_user, $id, $data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -117,7 +117,7 @@ class Webhook extends StandardController
|
|||
{
|
||||
$message = [
|
||||
'url' => $webhook['url'],
|
||||
'datas' => [
|
||||
'data' => [
|
||||
'webhook_type' => $webhook['type'],
|
||||
'id' => $sms['id'],
|
||||
'at' => $sms['at'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue