Changed expiration field of LoginResult to i64 #36
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "icarus_models"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
edition = "2024"
|
||||
rust-version = "1.86"
|
||||
description = "models used for the icarus project"
|
||||
@@ -12,5 +12,6 @@ serde_json = { version = "1.0.139" }
|
||||
rand = { version = "0.9" }
|
||||
time = { version = "0.3.41", features = ["formatting", "macros", "parsing", "serde"] }
|
||||
uuid = { version = "1.16.0", features = ["v4", "serde"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = { version = "3.19.1" }
|
||||
|
@@ -9,7 +9,7 @@ pub struct LoginResult {
|
||||
pub token: String,
|
||||
#[serde(alias = "token_type")]
|
||||
pub token_type: String,
|
||||
pub expiration: i32,
|
||||
pub expiration: i64,
|
||||
}
|
||||
|
||||
impl Default for LoginResult {
|
||||
|
Reference in New Issue
Block a user