validation: fix url
This commit is contained in:
parent
dad5a40a09
commit
803223d331
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user