diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 17:01:17 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 17:01:17 -0400 |
commit | e965811185c4c5e9c206f2c2ca411d2544ac24a5 (patch) | |
tree | e1b972130c72b7177b67cf3e64bff96d6b8c9d1b /pkg | |
parent | 0b57063d451db15e30b5568bfa3e3c2d77de8a87 (diff) | |
download | Atlas-e965811185c4c5e9c206f2c2ca411d2544ac24a5.tar.gz Atlas-e965811185c4c5e9c206f2c2ca411d2544ac24a5.zip |
pkg/api/api0: Clean up old comments
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 |