Fix panic in non-generated API calls when printing as JSON (#1095)
Fixes #992
This commit is contained in:
1 parent
26c0c4479d
commit
f05f37d0fa
8 files changed
+21
-18
No files matched your search
@@ -59,6 +59,6 @@ func (c *Client) SetPassword(ctx context.Context, accountId, password string, ve
|
||||
if apiErr != nil {
|
||||
return nil, apiErr
|
||||
}
|
||||
|
||||
target.response = resp
|
||||
return target, nil
|
||||
}
|
||||
Reference in new issue
Block a user