Browse Source

docs: Fix extending gql guide - type ProductVariant was referenced as Product (#2711)

Ahmet TOK 1 year ago
parent
commit
767f8330d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/docs/guides/developer-guide/extend-graphql-api/index.md

+ 1 - 1
docs/docs/guides/developer-guide/extend-graphql-api/index.md

@@ -269,7 +269,7 @@ export class ReviewsPlugin {}
 
 Let's say you want to add a new field to the `ProductVariant` type to allow the storefront to display some indication of how long a particular product variant would take to deliver, based on data from some external service. 
 
-First we extend the `Product` GraphQL type:
+First we extend the `ProductVariant` GraphQL type:
 
 ```ts title="src/plugins/delivery-time/api/api-extensions.ts"
 import gql from 'graphql-tag';