Skip to content

Commit

Permalink
fix(webserver, license): change the timestamp type to i64
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Feb 19, 2024
1 parent 291beed commit 1301fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ee/tabby-webserver/src/service/license.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ pub enum LicenseType {
#[derive(Debug, Deserialize)]
pub struct LicenseInfo {
/// Expiration time (as UTC timestamp)
pub exp: f64,
pub exp: i64,

/// Issued at (as UTC timestamp)
pub iat: f64,
pub iat: i64,

/// Issuer
pub iss: String,
Expand Down

0 comments on commit 1301fdd

Please sign in to comment.