chore: get ws

This commit is contained in:
zzw
2026-10-28 16:10:10 +08:00
parent 747ab25325
commit bb94b1a327
4 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -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)