From c233dbcec8d705912bf0598ebd2d080a491209ac Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Mon, 8 Feb 2021 17:00:57 +0100 Subject: [PATCH] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 818833d..f451f22 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ const jwt = require('@tsndr/cloudflare-worker-jwt') const token = jwt.sign({ name: 'John Doe', email: 'john.doe@gmail.com' }, 'secret') // Verifing token -const isValid = jwt.verify(token, secret) +const isValid = jwt.verify(token, 'secret') // Decoding token const payload = jwt.decode(token)