Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez authored Apr 26, 2022
1 parent 3176449 commit 67e530d
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 @@ -250,7 +250,7 @@ uses
begin
THorse
.AddCallback(HorseJWT('MY-PASSWORD', TMyClaims)) // Add custom payload class
.AddCallback(HorseJWT('MY-PASSWORD', THorseJWTConfig.New.SessionClass(TMyClaims))) // Add custom payload class
.Get('ping',
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
var
Expand Down Expand Up @@ -322,7 +322,7 @@ begin
// Route private
THorse
.AddCallback(HorseJWT('MY-PASSWORD', TMyClaims)) // Add custom payload class
.AddCallback(HorseJWT('MY-PASSWORD', THorseJWTConfig.New.SessionClass(TMyClaims))) // Add custom payload class
.Get('private',
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
var
Expand Down

0 comments on commit 67e530d

Please sign in to comment.