From 6a9aa855d1c862e4d39f8c00c6b7425405e7a612 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 14 May 2018 11:27:30 -0400 Subject: Move SAML endpoints out of api package (#8780) --- api4/api.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'api4/api.go') diff --git a/api4/api.go b/api4/api.go index acce923c0..9172391dd 100644 --- a/api4/api.go +++ b/api4/api.go @@ -243,8 +243,4 @@ func (api *API) Handle404(w http.ResponseWriter, r *http.Request) { web.Handle404(api.App, w, r) } -func ReturnStatusOK(w http.ResponseWriter) { - m := make(map[string]string) - m[model.STATUS] = model.STATUS_OK - w.Write([]byte(model.MapToJson(m))) -} +var ReturnStatusOK = web.ReturnStatusOK -- cgit v1.2.3-1-g7c22