validation: fix url

This commit is contained in:
Quaternions 2024-12-10 22:29:15 -08:00
parent dad5a40a09
commit 803223d331

View File

@ -79,7 +79,8 @@ macro_rules! action{
};
}
impl Context{
pub fn new(base_url:String)->reqwest::Result<Self>{
pub fn new(mut base_url:String)->reqwest::Result<Self>{
base_url+="/v1";
Ok(Self{
base_url,
client:reqwest::Client::new(),