diff options
Diffstat (limited to 'pkg/api/api0/server.go')
-rw-r--r-- | pkg/api/api0/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/api0/server.go b/pkg/api/api0/server.go index ad7133c..3e02a26 100644 --- a/pkg/api/api0/server.go +++ b/pkg/api/api0/server.go @@ -54,7 +54,7 @@ func (h *Handler) handleServerUpsert(w http.ResponseWriter, r *http.Request) { return } - if !h.checkLauncherVersion(r) { + if !h.CheckLauncherVersion(r) { h.m().server_upsert_requests_total.reject_versiongate(action).Inc() respFail(w, r, http.StatusBadRequest, ErrorCode_UNSUPPORTED_VERSION.MessageObj()) return @@ -93,7 +93,7 @@ func (h *Handler) handleServerUpsert(w http.ResponseWriter, r *http.Request) { var s *Server if canCreate { s = &Server{ - LauncherVersion: h.extractLauncherVersion(r), + LauncherVersion: h.ExtractLauncherVersion(r), } } |