Skip to content

Commit f4d0f50

Browse files
authored
fix postData's operationName on http-post example
1 parent a974186 commit f4d0f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/http-post/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
type postData struct {
1313
Query string `json:"query"`
14-
Operation string `json:"operation"`
14+
Operation string `json:"operationName"`
1515
Variables map[string]interface{} `json:"variables"`
1616
}
1717

0 commit comments

Comments
 (0)