Commit 01186e41 authored by Morgan McMillian's avatar Morgan McMillian

fix typo in GetClient function fixes issue #7

parent 56c3f133
......@@ -8,7 +8,7 @@ type ClientInfoResult struct {
// GetClient retrieves client object based on the id
// https://pnut.io/docs/api/resources/clients#get-clients-id
func (c *Client) GetClient(id string) (result ClientInfosResult, err error) {
func (c *Client) GetClient(id string) (result ClientInfoResult, err error) {
responseCh := make(chan response)
c.queryQueue <- query{url: ClientAPI + "/" + id, data: &result, method: "GET", responseCh: responseCh}
return result, (<-responseCh).err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment