diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/api/api0/client.go | 4 | ||||
-rw-r--r-- | pkg/api/api0/server.go | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/pkg/api/api0/client.go b/pkg/api/api0/client.go index c269d4a..478a3aa 100644 --- a/pkg/api/api0/client.go +++ b/pkg/api/api0/client.go @@ -191,10 +191,6 @@ func (h *Handler) handleClientOriginAuth(w http.ResponseWriter, r *http.Request) var username string if h.OriginAuthMgr != nil { - // TODO: maybe just update this from a different thread since we don't - // actually need it during the auth process (doing it that way will - // speed up auth and also allow us to batch the Origin API calls) - if tok, ours, err := h.OriginAuthMgr.OriginAuth(false); err == nil { var notfound bool if ui, err := origin.GetUserInfo(r.Context(), tok, uid); err == nil { diff --git a/pkg/api/api0/server.go b/pkg/api/api0/server.go index 06f4957..982b203 100644 --- a/pkg/api/api0/server.go +++ b/pkg/api/api0/server.go @@ -16,11 +16,6 @@ import ( "github.com/rs/zerolog/hlog" ) -/* - /server/remove_server: - DELETE: -*/ - func (h *Handler) handleServerUpsert(w http.ResponseWriter, r *http.Request) { // note: if the API is confusing, see: // - https://github.com/R2Northstar/NorthstarLauncher/commit/753dda6231bbb2adf585bbc916c0b220e816fcdc |