mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
review
This commit is contained in:
parent
0a80c91686
commit
1e46d9b1d3
1 changed files with 2 additions and 1 deletions
|
|
@ -197,7 +197,8 @@ func (d *Client) doRequest(ctx context.Context, method string, params []any, res
|
|||
|
||||
var rpcResp APIResponse
|
||||
|
||||
if err := json.Unmarshal(raw, &rpcResp); err != nil {
|
||||
err = json.Unmarshal(raw, &rpcResp)
|
||||
if err != nil {
|
||||
return errutils.NewUnmarshalError(req, resp.StatusCode, raw, err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue