Skip to content

Commit

Permalink
docs: update README.md (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
disjukr authored Dec 9, 2024
1 parent 7a8e271 commit c3ee144
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 @@ -19,7 +19,7 @@ const isAuthorized = await check({
context,
});

if (!isAuthorization) {
if (!isAuthorized) {
throw new Error("You are not authorized");
}
```
Expand Down Expand Up @@ -214,7 +214,7 @@ const isAuthorized = await check({
context,
}); // boolean

if (!isAuthorization) {
if (!isAuthorized) {
throw new Error("Not Authorized!");
}
```
Expand Down

0 comments on commit c3ee144

Please sign in to comment.