Skip to content

Commit

Permalink
Update LatestProducts.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-473 authored Apr 1, 2021
1 parent 918b109 commit c77abc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
$products['data'][$i]['sku'] = $product->getSku();
$products['data'][$i]['image'] = $image;
$products['data'][$i]['description'] = $description;
$products['data'][$i]['urlkey'] = $product->getUrlKey().".html";
$products['data'][$i]['urlkey'] = $product->getUrlKey();
$i++;
}
return $products;
Expand Down

0 comments on commit c77abc9

Please sign in to comment.