Update refunds items schema to match actual response keys.

This commit is contained in:
Gerhard Potgieter 2018-05-02 10:13:51 +02:00
parent 390288e283
commit 4a39d8b8cc
1 changed files with 1 additions and 1 deletions

View File

@ -1619,7 +1619,7 @@ class WC_REST_Orders_Controller extends WC_REST_Legacy_Orders_Controller {
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'reason' => array(
'refund' => array(
'description' => __( 'Refund reason.', 'woocommerce' ),
'type' => 'string',
'context' => array( 'view', 'edit' ),