From 6d62574e7f3820182cb5a4935d1fdfc2795393ff Mon Sep 17 00:00:00 2001 From: Carlos Esquerdo Bernat Date: Fri, 15 Oct 2021 01:24:22 +0200 Subject: [PATCH] tutorials: fix argument type (#12182) --- tutorials/building_a_simple_web_blog_with_vweb/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/building_a_simple_web_blog_with_vweb/README.md b/tutorials/building_a_simple_web_blog_with_vweb/README.md index b5be5c0d03..94ca8a386f 100644 --- a/tutorials/building_a_simple_web_blog_with_vweb/README.md +++ b/tutorials/building_a_simple_web_blog_with_vweb/README.md @@ -350,7 +350,7 @@ Create `new.html`: import vweb [post] -pub fn (mut app App) new_article(title string, text form) vweb.Result { +pub fn (mut app App) new_article(title string, text string) vweb.Result { if title == '' || text == '' { return app.text('Empty text/title') }