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
|
return
|
||||||
}
|
}
|
||||||
if sharing == nil {
|
if sharing == nil {
|
||||||
jsonStringResponse(w, http.StatusOK, "{}")
|
jsonStringResponse(w, http.StatusOK, "")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue