diff --git a/validation/api/src/lib.rs b/validation/api/src/lib.rs index 28aced0..418d418 100644 --- a/validation/api/src/lib.rs +++ b/validation/api/src/lib.rs @@ -79,7 +79,8 @@ macro_rules! action{ }; } impl Context{ - pub fn new(base_url:String)->reqwest::Result{ + pub fn new(mut base_url:String)->reqwest::Result{ + base_url+="/v1"; Ok(Self{ base_url, client:reqwest::Client::new(),