Commit 212069bc authored by john_a's avatar john_a Committed by john_a
Browse files

Issue #2974656 by john_a: marketing_cloud_example changes to json payload

parent 5e83075c
......@@ -66,9 +66,9 @@ class MarketingCloudExample extends WebformHandlerBase {
$messageId = $this->configuration['short_code'];
$data = [
'mobileNumbers' => $mobileNumbers,
'override' => 'true',
'override' => TRUE,
'messageText' => $values['message_text'],
'SendTime' => $date->format('Y-m-d H:i'),
'sendTime' => $date->format('Y-m-d H:i'),
];
$response = \Drupal::service('marketing_cloud_sms.service')
->postMessageToNumber($messageId, $data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment