Skip to content

Commit

Permalink
Fix: sample code in doc comment of JWT
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarus committed Jan 4, 2024
1 parent 6dbc7c7 commit f13a29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ohkami/src/x_utils/jwt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
///
/// pub fn my_jwt_config() -> JWT {
/// // Get secret key from somewhere, `.env` file for example
/// let secret = todo!();
/// let secret = "MY_VERY_SECRET_KEY";
///
/// JWT(secret)
/// }
Expand Down

0 comments on commit f13a29f

Please sign in to comment.