Skip to content

Commit bd682ed

Browse files
authored
Fix demo code in README.md (#336)
1 parent 364a557 commit bd682ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ In order to verify a token you first build a verifier and use it to verify a dec
7676
```cpp
7777
auto verifier = jwt::verify()
7878
.with_issuer("auth0")
79-
.with_claim("sample", jwt::claim(std::string("test")));
80-
.allow_algorithm(jwt::algorithm::hs256{"secret"})
79+
.with_claim("sample", jwt::claim(std::string("test")))
80+
.allow_algorithm(jwt::algorithm::hs256{"secret"});
8181

8282
verifier.verify(decoded_token);
8383
```

0 commit comments

Comments
 (0)