add icon for documents without thumbnails

This commit is contained in:
m
2026-07-12 21:40:31 +02:00
parent f7d2d05418
commit 6ed51daa6b
4 changed files with 106 additions and 43 deletions
+8 -4
View File
@@ -114,10 +114,14 @@ func (h *FileHandler) Get(c *gin.Context) {
}
api.Success(c, gin.H{
"id": file.ID,
"name": file.Name,
"url": h.urls.GenerateDownloadURL(file.ID),
"size": file.Size,
"id": file.ID,
"name": file.Name,
"url": h.urls.GenerateDownloadURL(file.ID),
"size": file.Size,
"mimeType": file.MimeType,
"createdAt": file.CreatedAt,
"updatedAt": file.UpdatedAt,
"ocrText": file.OcrText,
})
}