From c765c5ef1951bd6a848d66fd45cc8286f12e9e2e Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Mon, 25 Apr 2022 08:54:14 -0600 Subject: [PATCH] return nothing, not empty object (#2909) --- server/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/api.go b/server/api/api.go index e113a9b57..91ae16cd6 100644 --- a/server/api/api.go +++ b/server/api/api.go @@ -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 }