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

[WIP] initial tabs rendering: content, files, meta

This commit is contained in:
Harvey Kandola 2016-11-08 16:10:19 -08:00
parent db0af750d0
commit 671a76ac55
46 changed files with 1243 additions and 823 deletions

View file

@ -91,6 +91,10 @@ func GetAttachments(w http.ResponseWriter, r *http.Request) {
return
}
if len(a) == 0 {
a = []entity.Attachment{}
}
json, err := json.Marshal(a)
if err != nil {