Fix Products Controller images property type
This commit is contained in:
parent
8d2eb27637
commit
1d5e1715d6
|
@ -2146,7 +2146,7 @@ class WC_REST_Products_V1_Controller extends WC_REST_Posts_Controller {
|
|||
),
|
||||
'images' => array(
|
||||
'description' => __( 'List of images.', 'woocommerce-rest-api' ),
|
||||
'type' => 'object',
|
||||
'type' => 'array',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
'items' => array(
|
||||
'type' => 'object',
|
||||
|
|
|
@ -1122,7 +1122,7 @@ class WC_REST_Products_Controller extends WC_REST_Products_V2_Controller {
|
|||
),
|
||||
'images' => array(
|
||||
'description' => __( 'List of images.', 'woocommerce-rest-api' ),
|
||||
'type' => 'object',
|
||||
'type' => 'array',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
'items' => array(
|
||||
'type' => 'object',
|
||||
|
|
Loading…
Reference in New Issue