diff --git a/internal/api/client.go b/internal/api/client.go index c649d8f6..50935453 100644 --- a/internal/api/client.go +++ b/internal/api/client.go @@ -95,7 +95,11 @@ func (c *Client) MakeRequest(ctx context.Context, req *graphql.Request, resp *gr if err != nil { return err } - graphqlURL, err := c.Address().Parse("graphql") + opName := "unknown" + if req.OpName != "" { + opName = req.OpName + } + graphqlURL, err := c.Address().Parse(fmt.Sprintf("graphql?id=%s", opName)) if err != nil { return nil }