Skip to content

Commit c8b63e0

Browse files
author
Jannis Pohlmann
committed
README: Update SendData() usage in example
1 parent d7f2c14 commit c8b63e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ for _, conn := range subscriptions {
115115
// Errors is optional ([]error)
116116
Errors: graphqlws.ErrorsFromGraphQLErrors(result.Errors),
117117
}
118-
subscription.SendData(subscription, &data)
118+
subscription.SendData(&data)
119119
}
120120
}
121121
```

0 commit comments

Comments
 (0)