Skip to content

Commit

Permalink
Remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeyGuyDylan committed Jan 29, 2025
1 parent dd6e56b commit 89815f7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions projects/packages/my-jetpack/src/class-rest-products.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,6 @@ public function __construct() {
'validate_callback' => __CLASS__ . '::check_products_argument',
);

$products_arg = array(
'description' => __( 'Array of Product slugs', 'jetpack-my-jetpack' ),
'type' => 'array',
'items' => array(
'enum' => Products::get_products_slugs(),
'type' => 'string',
),
'required' => true,
'validate_callback' => __CLASS__ . '::check_products_argument',
);

register_rest_route(
'my-jetpack/v1',
'site/products/install',
Expand Down

0 comments on commit 89815f7

Please sign in to comment.