ilovepdf-nodejs icon indicating copy to clipboard operation
ilovepdf-nodejs copied to clipboard

Incorrect API client code/documentation for watermark font_style

Open MohamedK1 opened this issue 1 year ago • 0 comments

Hello 👋 ,

For watermark endpoint, it accepts font_style with allowed values as per the documentation and the client code too.

Accepted values: null (Regular/Normal), Bold, Italic.
 Default: null

However, this seems outdated in both since for regular text, if you pass null the server will throw that the font_style is invalid.

I tried to enforce passing of Regular and it accepted it in terms of server side.

MohamedK1 avatar Jul 06 '24 03:07 MohamedK1