chore: get ws
This commit is contained in:
@@ -27,7 +27,7 @@ func (c *Client) SkinAnalyze(opts SkinAnalyzeOptions) (*SkinAnalyzeResponse, err
|
||||
case opts.ImageURL != "":
|
||||
values.Set("image_url", opts.ImageURL)
|
||||
default:
|
||||
return nil, errors.New("facepp: image_url, image_file or image_base64 is required")
|
||||
return nil, errors.New("facepp: image is required")
|
||||
}
|
||||
|
||||
applyOptionalParams(values, opts)
|
||||
|
||||
Reference in New Issue
Block a user