From 9ab9057d144a33a379356fa0d54157076fe4325e Mon Sep 17 00:00:00 2001 From: Manuel Herrera Date: Mon, 4 Dec 2023 18:32:52 -0300 Subject: [PATCH] fix(session): i32 to i64 for last_active, expire_at, abandon_at --- src/models/session.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/models/session.rs b/src/models/session.rs index baed254..6567fb1 100644 --- a/src/models/session.rs +++ b/src/models/session.rs @@ -36,11 +36,11 @@ pub struct Session { )] pub last_active_organization_id: Option>, #[serde(rename = "last_active_at")] - pub last_active_at: i32, + pub last_active_at: i64, #[serde(rename = "expire_at")] - pub expire_at: i32, + pub expire_at: i64, #[serde(rename = "abandon_at")] - pub abandon_at: i32, + pub abandon_at: i64, /// Unix timestamp of last update. #[serde(rename = "updated_at")] pub updated_at: i64, @@ -56,9 +56,9 @@ impl Session { user_id: String, client_id: String, status: Status, - last_active_at: i32, - expire_at: i32, - abandon_at: i32, + last_active_at: i64, + expire_at: i64, + abandon_at: i64, updated_at: i64, created_at: i64, ) -> Session {