diff options
author | Valentin Popov <info@valentineus.link> | 2018-02-25 00:27:40 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-02-25 00:27:40 +0300 |
commit | f3c2ebbe4d07fd7abe5dbac8dd44e9c6f921c99e (patch) | |
tree | 144d0e1c4f5c48ee34a343050261e36ef1605ae4 /externallib.php | |
parent | 8f25379f326e1584f0fa0bb238e11fb5a2c79b36 (diff) | |
download | local_webhooks-f3c2ebbe4d07fd7abe5dbac8dd44e9c6f921c99e.tar.xz local_webhooks-f3c2ebbe4d07fd7abe5dbac8dd44e9c6f921c99e.zip |
Correcting a stupid mistake
Diffstat (limited to 'externallib.php')
-rw-r--r-- | externallib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/externallib.php b/externallib.php index 6cc08a1..f8a4dbd 100644 --- a/externallib.php +++ b/externallib.php @@ -411,7 +411,7 @@ class local_webhooks_external extends external_api { public static function update_record_parameters() { return new external_function_parameters( array( - "service" => return new external_single_structure( + "service" => new external_single_structure( array( "id" => new external_value(PARAM_INT, "Service ID."), "enable" => new external_value(PARAM_BOOL, "Enable or disable the service.", VALUE_OPTIONAL), |