mirror of
https://github.com/tribufu/tribufu-rust
synced 2026-05-06 06:47:28 +00:00
Update lib.rs
This commit is contained in:
parent
dbe5909513
commit
cb24541ad3
1 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue