return nothing, not empty object (#2909)
This commit is contained in:
parent
478c091c53
commit
c765c5ef19
1 changed files with 1 additions and 1 deletions
|
@ -1548,7 +1548,7 @@ func (a *API) handleGetSharing(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
if sharing == nil {
|
||||
jsonStringResponse(w, http.StatusOK, "{}")
|
||||
jsonStringResponse(w, http.StatusOK, "")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue