Fixed type
This commit is contained in:
parent
461543fdbf
commit
3b1da48c8d
|
@ -526,7 +526,7 @@ class WC_REST_Order_Refunds_Controller extends WC_REST_Orders_Controller {
|
||||||
),
|
),
|
||||||
'api_refund' => array(
|
'api_refund' => array(
|
||||||
'description' => __( 'When true uses the payment gateway API to generate the refund.', 'woocommerce' ),
|
'description' => __( 'When true uses the payment gateway API to generate the refund.', 'woocommerce' ),
|
||||||
'type' => 'string',
|
'type' => 'boolean',
|
||||||
'context' => array( 'edit' ),
|
'context' => array( 'edit' ),
|
||||||
'default' => true,
|
'default' => true,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue