Update lib.rs

This commit is contained in:
Guilherme Werner
2023-12-07 21:15:24 -03:00
parent dbe5909513
commit cb24541ad3

View File

@ -4,8 +4,10 @@
use alnilam_consts::TARGET_TRIPLE;
use anyhow::{Error, Result};
use chrono::NaiveDateTime;
use reqwest::header::{HeaderMap, HeaderValue};
use reqwest::Client;
use serde::{Deserialize, Serialize};
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
@ -55,8 +57,8 @@ impl TribufuClient {
refresh_token: None,
username: None,
password: None,
client_id: self.client_id.to_string(),
client_secret: self.client_secret.clone(),
client_id: Some(self.client_id.to_string()),
client_secret: Some(self.client_secret.clone()),
redirect_uri: None,
};