aboutsummaryrefslogtreecommitdiff
path: root/externallib.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-02-22 11:55:20 +0300
committerValentin Popov <info@valentineus.link>2018-02-22 11:55:20 +0300
commitdb500cddce0df907982f36561c2d1a5b02d427e8 (patch)
tree5c16ab7c596a9114653a67203aa2d36160eaccbf /externallib.php
parent85bcb64e37128e07273d20252c86bc284b44a799 (diff)
downloadlocal_webhooks-db500cddce0df907982f36561c2d1a5b02d427e8.tar.xz
local_webhooks-db500cddce0df907982f36561c2d1a5b02d427e8.zip
Fix 'invalid OPTIONAL value specified'
Diffstat (limited to 'externallib.php')
-rw-r--r--externallib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/externallib.php b/externallib.php
index e064c03..3cbc82b 100644
--- a/externallib.php
+++ b/externallib.php
@@ -127,7 +127,7 @@ class local_webhooks_external extends external_api {
return new external_function_parameters(
array(
"eventname" => new external_value(PARAM_TEXT, "The name of the event."),
- "active" => new external_value(PARAM_BOOL, "Service status filter switch.", VALUE_OPTIONAL)
+ "active" => new external_value(PARAM_BOOL, "Service status filter switch.")
)
);
}