Return missing error

pull/45/head
Miguel Mota 5 years ago
parent 1aa81b8b06
commit 33297c7be4
No known key found for this signature in database
GPG Key ID: 67EC1161588A00F9

@ -125,7 +125,11 @@ func (c *Client) SimpleSupportedVSCurrencies() (*types.SimpleSupportedVSCurrenci
}
var data *types.SimpleSupportedVSCurrencies
err = json.Unmarshal(resp, &data)
return data, err
if err != nil {
return nil, err
}
return data, nil
}
// CoinsList /coins/list

Loading…
Cancel
Save