fix incorrect return code

This commit is contained in:
Colin Henry 2020-12-10 09:25:23 -08:00
parent 8a1403a35d
commit 31cb99467c

View File

@ -30,7 +30,7 @@ func MutliHandler(h map[string]http.Handler) (http.HandlerFunc, error) {
if hdlr, ok := h[r.Method]; ok {
hdlr.ServeHTTP(w, r)
} else {
NotFoundHandler.ServeHTTP(w, r)
NotImplementedHandler.ServeHTTP(w, r)
}
}, nil
}