1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 06:39:43 +02:00

PDF section type build prep

Closes #207 -- view PDF's with new PDF section type.
This commit is contained in:
Harvey Kandola 2019-04-19 13:18:31 +01:00
parent b5cd378302
commit 728789195c
9 changed files with 844 additions and 789 deletions

View file

@ -669,6 +669,9 @@ func (h *Handler) FetchDocumentData(w http.ResponseWriter, r *http.Request) {
response.WriteServerError(w, method, err)
return
}
if len(a) == 0 {
a = []attachment.Attachment{}
}
// Prepare response.
data := BulkDocumentData{}