From 42b2148ef3adb2439517512b42a1453dd2940dcc Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Wed, 28 May 2025 14:11:53 +0200 Subject: [PATCH] ref: Delete unused struct field We never use this struct field. It was originally included because auth token payloads include this field, but since we only ever deserialize this payload, `serde` ignores the field if it is not on the struct. --- src/utils/auth_token/org_auth_token.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/auth_token/org_auth_token.rs b/src/utils/auth_token/org_auth_token.rs index 3790f99d43..faa596a23a 100644 --- a/src/utils/auth_token/org_auth_token.rs +++ b/src/utils/auth_token/org_auth_token.rs @@ -13,9 +13,7 @@ pub struct OrgAuthToken { /// Represents the payload data of an org auth token. #[derive(Clone, Debug, Deserialize)] -#[expect(dead_code)] // Otherwise, we get a warning about unused fields pub struct AuthTokenPayload { - iat: f64, pub region_url: String, pub org: String,