Skip to content

Commit 8c958eb

Browse files
author
Jannis Pohlmann
committed
README: Add missing SendData() call to example, update copyright
1 parent bdb6eab commit 8c958eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ for _, conn := range subscriptions {
115115
// Errors is optional ([]error)
116116
Errors: graphqlws.ErrorsFromGraphQLErrors(result.Errors),
117117
}
118+
subscription.SendData(subscription, &data)
118119
}
119120
}
120121
```
@@ -138,7 +139,7 @@ log.SetLevel(log.WarnLevel)
138139

139140
## License
140141

141-
Copyright © 2017 Functional Foundry, LLC.
142+
Copyright © 2017-2018 Functional Foundry, LLC.
142143

143144
Licensed under the [MIT License](LICENSE.md).
144145

0 commit comments

Comments
 (0)