Skip to content

Commit

Permalink
Width and height are required in thumbnail request (#262)
Browse files Browse the repository at this point in the history
Get an error from request `/thumbnail`:

`Error while processing the image: Missing required params: width or height`
  • Loading branch information
isudakoff authored and h2non committed May 28, 2019
1 parent 519c5ff commit 621c849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,8 @@ Accepts: `image/*, multipart/form-data`. Content-Type: `image/*`

##### Allowed params

- width `int`
- height `int`
- width `int` `required`
- height `int` `required`
- quality `int` (JPEG-only)
- compression `int` (PNG-only)
- type `string`
Expand Down

0 comments on commit 621c849

Please sign in to comment.