Correcting a stupid mistake
This commit is contained in:
		@@ -411,7 +411,7 @@ class local_webhooks_external extends external_api {
 | 
				
			|||||||
    public static function update_record_parameters() {
 | 
					    public static function update_record_parameters() {
 | 
				
			||||||
        return new external_function_parameters(
 | 
					        return new external_function_parameters(
 | 
				
			||||||
            array(
 | 
					            array(
 | 
				
			||||||
                "service" => return new external_single_structure(
 | 
					                "service" => new external_single_structure(
 | 
				
			||||||
                    array(
 | 
					                    array(
 | 
				
			||||||
                        "id"     => new external_value(PARAM_INT, "Service ID."),
 | 
					                        "id"     => new external_value(PARAM_INT, "Service ID."),
 | 
				
			||||||
                        "enable" => new external_value(PARAM_BOOL, "Enable or disable the service.", VALUE_OPTIONAL),
 | 
					                        "enable" => new external_value(PARAM_BOOL, "Enable or disable the service.", VALUE_OPTIONAL),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user