Fix auth for 'getLatestImportTime'
This commit is contained in:
parent
92cd3ccf97
commit
15af617614
1 changed files with 4 additions and 0 deletions
|
@ -702,6 +702,10 @@ impl Client {
|
|||
.header(reqwest::header::USER_AGENT, &self.user_agent)
|
||||
.header(reqwest::header::CONTENT_TYPE, "application/json")
|
||||
.header(reqwest::header::ACCEPT, "application/json")
|
||||
.header(
|
||||
reqwest::header::COOKIE,
|
||||
self.session.as_ref().context("Not logged in")?,
|
||||
)
|
||||
.json(&json!({
|
||||
"id": "ID",
|
||||
"method": "getLatestImportTime",
|
||||
|
|
Loading…
Reference in a new issue