Skip to content

Commit

Permalink
Fix readme inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Bulyzhyn committed Feb 28, 2024
1 parent f42a0e9 commit 9b3d086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ If you need to obtain the key dynamically from other sources, you can pass a fun
For example, if the secret varies based on the [issuer](http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#issDef):

```javascript
var jwt = require("express-jwt");
var { expressjwt: jwt } = require("express-jwt");
var data = require("./data");
var utilities = require("./utilities");

Expand Down Expand Up @@ -201,7 +201,7 @@ It is possible that some tokens will need to be revoked so they cannot be used a
For example, if the `(iss, jti)` claim pair is used to identify a JWT:

```javascript
const jwt = require("express-jwt");
const { expressjwt: jwt } = require("express-jwt");
const data = require("./data");

const isRevokedCallback = async (req, token) => {
Expand Down

0 comments on commit 9b3d086

Please sign in to comment.