diff --git a/README.md b/README.md index bc6b3a2..18ca646 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ To delete an open session, just clear the session data: ```typescript app.use( ctx => { - // Running this will create the session - ctx.session = null; + // Running this will delete the session + ctx.session = {}; }); ```