diff options
author | Valentin Popov <info@valentineus.link> | 2018-02-22 11:55:20 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-02-22 11:55:20 +0300 |
commit | db500cddce0df907982f36561c2d1a5b02d427e8 (patch) | |
tree | 5c16ab7c596a9114653a67203aa2d36160eaccbf | |
parent | 85bcb64e37128e07273d20252c86bc284b44a799 (diff) | |
download | local_webhooks-db500cddce0df907982f36561c2d1a5b02d427e8.tar.xz local_webhooks-db500cddce0df907982f36561c2d1a5b02d427e8.zip |
Fix 'invalid OPTIONAL value specified'
-rw-r--r-- | externallib.php | 2 |
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.") ) ); } |