mirror of
https://github.com/documize/community.git
synced 2025-07-20 21:59:42 +02:00
parent
763bd1f0e2
commit
bc49041359
8 changed files with 623 additions and 623 deletions
|
@ -205,6 +205,10 @@ func GetDocumentsByFolder(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
if len(documents) == 0 {
|
||||
documents = []entity.Document{}
|
||||
}
|
||||
|
||||
json, err := json.Marshal(documents)
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue