Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Product Query: updates attribute operator enum.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpap committed Apr 20, 2022
1 parent 604cb1a commit 38d6edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StoreApi/Routes/V1/Products.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public function get_collection_params() {
'operator' => array(
'description' => __( 'Operator to compare product attribute terms.', 'woo-gutenberg-products-block' ),
'type' => 'string',
'enum' => [ 'in', 'not in', 'and' ],
'enum' => [ 'in', 'not_in', 'and' ],
),
),
),
Expand Down

0 comments on commit 38d6edd

Please sign in to comment.