diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2022-09-06 17:58:35 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-06 17:58:35 +0000 |
| commit | acc32ccc1650b99e03c390a87e71b0a85b073162 (patch) | |
| tree | 0de545ee0eb8eba5961c57c0a73ff7031e97613d /src/models/auth.rs | |
| parent | e6dbcbb42e7a4a973887acde633cc3ee233aad3e (diff) | |
Create a 3d model object
Diffstat (limited to 'src/models/auth.rs')
| -rw-r--r-- | src/models/auth.rs | 2 |
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, } |
