forked from go-packages/paypal
Added spaces
`} else {`
This commit is contained in:
parent
28f2333770
commit
bf0c207b52
|
@ -97,7 +97,7 @@ func (c *Client) VerifyWebhookSignature(ctx context.Context, httpReq *http.Reque
|
|||
var bodyBytes []byte
|
||||
if httpReq.Body != nil {
|
||||
bodyBytes, _ = ioutil.ReadAll(httpReq.Body)
|
||||
}else{
|
||||
} else {
|
||||
return nil, errors.New("Cannot verify webhook for HTTP Request with empty body.")
|
||||
}
|
||||
// Restore the io.ReadCloser to its original state
|
||||
|
|
Loading…
Reference in New Issue
Block a user