From db500cddce0df907982f36561c2d1a5b02d427e8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 22 Feb 2018 12:55:20 +0400 Subject: Fix 'invalid OPTIONAL value specified' --- externallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externallib.php') 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.") ) ); } -- cgit v1.2.3