From 413a6e33c76394808a8890fdea1fd61d6e50ecc5 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Wed, 13 Jan 2021 12:15:38 -0800 Subject: [PATCH] cleanup --- server/api/api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/api/api.go b/server/api/api.go index 24adbadab..c7bb93f57 100644 --- a/server/api/api.go +++ b/server/api/api.go @@ -270,7 +270,6 @@ func (a *API) handleGetSubTree(w http.ResponseWriter, r *http.Request) { return } - // TODO: Check token if sharing == nil || !(sharing.ID == rootID && sharing.Enabled && sharing.Token == readToken) { log.Printf(`handleGetSubTree public unauthorized, rootID: %v`, rootID) errorResponse(w, http.StatusUnauthorized, nil)