-comments
parent
7c7db5e510
commit
05b173408e
|
|
@ -315,13 +315,9 @@ impl MonitoringImporter {
|
|||
.bearer_auth(&self.access_token)
|
||||
.json(&Query::device_oriented(list_of_devices));
|
||||
|
||||
// dbg!(Query::device_oriented(id_list.as_devices()));
|
||||
let resp = client.send().await?.text().await?;
|
||||
// println!("{}", &resp);
|
||||
let resp: Value = serde_json::from_str(&resp)?;
|
||||
|
||||
// todo!();
|
||||
|
||||
if let Some(arr) = resp.as_array() {
|
||||
for device in arr {
|
||||
let device_id = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue