diff --git a/vlib/net/http/method.v b/vlib/net/http/method.v index 8353a4a0ca..0b3d786306 100644 --- a/vlib/net/http/method.v +++ b/vlib/net/http/method.v @@ -18,7 +18,7 @@ pub enum Method { patch } -fn (m Method) str() string { +pub fn (m Method) str() string { return match m { .get { 'GET' } .post { 'POST' }