fixes
This commit is contained in:
@@ -162,8 +162,10 @@ export async function findShop(shopifyDomain: string) {
|
||||
|
||||
After this let's set up the GraphQL schema for Genql, simply run the following command:
|
||||
|
||||
```bash
|
||||
npx genql --endpoint "https://<name>.myshopify.com/admin/api/2024-07/graphql.json" -S --output "app/lib/genql/generated.server" -H "X-Shopify-Access-Token: <access token>" --esm
|
||||
```sh
|
||||
npx genql -S --output "app/lib/genql/generated.server" \
|
||||
--endpoint "https://<name>.myshopify.com/admin/api/2024-07/graphql.json" \
|
||||
-H "X-Shopify-Access-Token: <access token>" --esm
|
||||
```
|
||||
|
||||
Replace the `<name>.myshopify.com` and `<access token>` with some real data (you can also use the data from a test store, the command is just needed to generate the graphql schema).
|
||||
|
Reference in New Issue
Block a user