return nothing, not empty object (#2909)

This commit is contained in:
Scott Bishel 2022-04-25 08:54:14 -06:00 committed by GitHub
parent 478c091c53
commit c765c5ef19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
} }