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:
parent
db0af750d0
commit
671a76ac55
46 changed files with 1243 additions and 823 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue