fix: No root certificates in scratch container
This commit is contained in:
@@ -4,6 +4,7 @@ use std::net::SocketAddr;
|
||||
use async_trait::async_trait;
|
||||
use automation_lib::device::{Device, LuaDeviceCreate};
|
||||
use automation_lib::lua::traits::PartialUserData;
|
||||
use automation_lib::reqwest::new_client;
|
||||
use automation_macro::{Device, LuaDeviceConfig};
|
||||
use lua_typed::Typed;
|
||||
use mlua::LuaSerdeExt;
|
||||
@@ -98,7 +99,7 @@ impl HueBridge {
|
||||
);
|
||||
|
||||
trace!(?flag, flag_id, value, "Sending request to change flag");
|
||||
let res = reqwest::Client::new()
|
||||
let res = new_client()
|
||||
.put(url)
|
||||
.json(&FlagMessage { flag: value })
|
||||
.send()
|
||||
|
||||
Reference in New Issue
Block a user