From 803223d33175b227df3636c46b89c8bd77206365 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 10 Dec 2024 22:29:15 -0800 Subject: [PATCH] validation: fix url --- validation/api/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(),