Fix: thumbnail aspect ratio config in onlyoffice conversion api payload
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m3s

This commit is contained in:
Elijah 2026-05-25 15:23:00 -07:00
parent 14af17f487
commit c9c36cce30

View file

@ -162,7 +162,7 @@ func generateOfficeThumbnail(filePath, destPath string, cfg *config.Config) erro
"title": "preview.jpg",
"url": fileUrl,
"thumbnail": map[string]interface{}{
"aspect": 0,
"aspect": 1,
"first": true,
"width": 1024,
"height": 1024,