Skip to content

Commit

Permalink
Merge pull request 99designs#311 from jekaspekas/fix-mapstructure-err
Browse files Browse the repository at this point in the history
fix mapstructure unit test error
  • Loading branch information
vektah authored Aug 23, 2018
2 parents 45adfd1 + c00a02b commit aa8b331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (p *Client) Websocket(query string, options ...Option) *Subscription {

if respDataRaw["errors"] != nil {
var errs []*gqlerror.Error
if err = unpack(respDataRaw["errors"], errs); err != nil {
if err = unpack(respDataRaw["errors"], &errs); err != nil {
return err
}
if len(errs) > 0 {
Expand Down

0 comments on commit aa8b331

Please sign in to comment.