From f3c2ebbe4d07fd7abe5dbac8dd44e9c6f921c99e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 25 Feb 2018 01:27:40 +0400 Subject: Correcting a stupid mistake --- externallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externallib.php') 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), -- cgit v1.2.3