From a16842f7bc3b5d6cff546ed20ee752656f1ade71 Mon Sep 17 00:00:00 2001 From: Lewis Date: Mon, 8 Oct 2018 18:59:15 +0900 Subject: [PATCH] Fix missing quotes in decorator example --- docs/sanic/decorators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sanic/decorators.md b/docs/sanic/decorators.md index db2d369b..68495a22 100644 --- a/docs/sanic/decorators.md +++ b/docs/sanic/decorators.md @@ -34,6 +34,6 @@ def authorized(): @app.route("/") @authorized() async def test(request): - return json({status: 'authorized'}) + return json({'status': 'authorized'}) ```