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 05c8698f14..c2a508f919 100644 --- a/tutorials/building_a_simple_web_blog_with_vweb/README.md +++ b/tutorials/building_a_simple_web_blog_with_vweb/README.md @@ -384,12 +384,11 @@ in V is very simple: ```v oksyntax // article.v import vweb -import json ['/articles'; get] pub fn (mut app App) articles() vweb.Result { articles := app.find_all_articles() - return app.json(json.encode(articles)) + return app.json(articles) } ```