Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Apr 26, 2024
1 parent ed1bad2 commit 264c007
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/pages/reference/jwt/validateJWT.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import { validateJWT } from "oslo/jwt";

try {
const jwt = validateJWT(
"HS256",
key,
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXNzYWdlIjoiaGVsbG8ifQ.yP03DaEblJkk9mR-Y5L7YCMzJgHL-RDPx90aXz-cuAI"
);
const message = jwt.payload.message;
Expand Down

0 comments on commit 264c007

Please sign in to comment.