summaryrefslogtreecommitdiffstats
path: root/src/models/auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/auth.rs')
-rw-r--r--src/models/auth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/auth.rs b/src/models/auth.rs
index 7f9ae00..4453bc7 100644
--- a/src/models/auth.rs
+++ b/src/models/auth.rs
@@ -18,7 +18,7 @@ struct Keys {
#[derive(Serialize, Deserialize)]
pub struct Claims {
/// ID from the user model
- user_id: i32,
+ pub user_id: i32,
/// Expiration timestamp
exp: usize,
}