mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-47850 message_airnotifier: Fixed airnotifier web service url
This commit is contained in:
parent
c5258dfa04
commit
b159589d9b
@ -92,7 +92,7 @@ class message_output_airnotifier extends message_output {
|
||||
}
|
||||
|
||||
// Sending the message to the device.
|
||||
$serverurl = $CFG->airnotifierurl . ':' . $CFG->airnotifierport . '/api/v2/push';
|
||||
$serverurl = $CFG->airnotifierurl . ':' . $CFG->airnotifierport . '/api/v2/push/';
|
||||
$header = array('Accept: application/json', 'X-AN-APP-NAME: ' . $CFG->airnotifierappname,
|
||||
'X-AN-APP-KEY: ' . $CFG->airnotifieraccesskey);
|
||||
$curl = new curl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user