This commit is contained in:
Alex Janka 2024-02-12 11:16:19 +11:00
parent a1bd2e2f2b
commit c2c508db1b
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1502,7 +1502,7 @@ dependencies = [
[[package]] [[package]]
name = "tesla-common" name = "tesla-common"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"serde", "serde",
"teslatte", "teslatte",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "tesla-common" name = "tesla-common"
version = "0.1.0" version = "0.1.1"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -3,6 +3,6 @@ use teslatte::auth::{AccessToken, RefreshToken};
#[derive(Serialize, Deserialize, Clone)] #[derive(Serialize, Deserialize, Clone)]
pub struct AuthInfo { pub struct AuthInfo {
access_token: AccessToken, pub access_token: AccessToken,
refresh_token: Option<RefreshToken>, pub refresh_token: Option<RefreshToken>,
} }