The POST /documents endpoint with generateThumbs=1 called image_format_supported() after requiring only files.lib.php, but that function is defined in images.lib.php, which was never included on this path. The call raised a fatal error and the request returned a bare HTTP 500 with no JSON body. Add the missing require_once. Signed-off-by: Dolicraft <contact@dolicraft.com> Co-authored-by: Dolicraft <contact@dolicraft.com> |
||
|---|---|---|
| .. | ||
| api.class.php | ||
| api_access.class.php | ||
| api_documents.class.php | ||
| api_login.class.php | ||
| api_objectlinks.class.php | ||
| api_setup.class.php | ||
| api_status.class.php | ||