From 65546fa0ce528d95142c06740f573bbff38f8a51 Mon Sep 17 00:00:00 2001 From: "Leonard Q. Marcq" Date: Mon, 16 Oct 2023 02:42:48 +0300 Subject: [PATCH] fix: typo in example about deleting a session --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = {}; }); ```