Skip to content

Commit

Permalink
Merge pull request #21 from notusertelken/fix-session-struct
Browse files Browse the repository at this point in the history
fix(session): i32 to i64 for last_active, expire_at, abandon_at
  • Loading branch information
DarrenBaldwin07 authored Dec 5, 2023
2 parents 2041616 + 9ab9057 commit 086da11
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/models/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ pub struct Session {
)]
pub last_active_organization_id: Option<Option<String>>,
#[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,
Expand All @@ -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 {
Expand Down

0 comments on commit 086da11

Please sign in to comment.