You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On page 277 of the printed book, listing 9.15 of the login function code
fn issue_token()....
let state = serde_json... ().expect("Failed to serialize") state");
local_paseto(...)
Apart from the obvious typo, I can't for the life of me find any reference to this local_paseto function.
There is 0 mention of the paseto library, it just turns up all of a sudden with no explanation.
The result of this is that the code doesn't compile and I'm unable to test this at all.
The text was updated successfully, but these errors were encountered:
Just ran into this as well and it's the last straw for me trying to follow the code examples. This book has nice content design but quality of code examples is probably the worst I've seen in a programming book. Will just try to read through rest of the book without coding and move on to axum.
On page 277 of the printed book, listing 9.15 of the login function code
Apart from the obvious typo, I can't for the life of me find any reference to this local_paseto function.
There is 0 mention of the paseto library, it just turns up all of a sudden with no explanation.
The result of this is that the code doesn't compile and I'm unable to test this at all.
The text was updated successfully, but these errors were encountered: