Fixed type

This commit is contained in:
Claudio Sanches 2017-03-21 17:07:01 -03:00
parent 461543fdbf
commit 3b1da48c8d
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ class WC_REST_Order_Refunds_Controller extends WC_REST_Orders_Controller {
),
'api_refund' => array(
'description' => __( 'When true uses the payment gateway API to generate the refund.', 'woocommerce' ),
'type' => 'string',
'type' => 'boolean',
'context' => array( 'edit' ),
'default' => true,
),