From 6b125807f53c7b0c7d1bb8accd8fddc57eaabc19 Mon Sep 17 00:00:00 2001 From: Tobe Osakwe Date: Fri, 19 Apr 2019 19:28:37 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 51056633..36b21335 100644 --- a/README.md +++ b/README.md @@ -303,7 +303,7 @@ final Validator todo = new Validator({ main() async { var app = new Angel(); - app.chain(validate(echo)).post('/echo', (req, res) async { + app.chain([validate(echo)]).post('/echo', (req, res) async { res.write('You said: "${req.bodyAsMap["message"]}"'); });