diff --git a/docs/blueprints.md b/docs/blueprints.md index 7a4567ee..4fcbcffb 100644 --- a/docs/blueprints.md +++ b/docs/blueprints.md @@ -29,7 +29,7 @@ from sanic import Blueprint bp = Blueprint('my_blueprint') @bp.route('/') -async def bp_root(): +async def bp_root(request): return json({'my': 'blueprint'}) ```