got rid of base url param

This commit is contained in:
2025-07-14 22:24:46 -04:00
parent 9fc0ab1f0d
commit 8dcd080f5b

View File

@ -48,7 +48,6 @@ pub fn derive_http_get_request(input: TokenStream) -> TokenStream {
impl Queryable for #name { impl Queryable for #name {
fn send( fn send(
&self, &self,
_base_url: &str, // not used
headers: Option<Vec<(&str, &str)>>, headers: Option<Vec<(&str, &str)>>,
) -> Result<Response, std::io::Error> { ) -> Result<Response, std::io::Error> {
use urlencoding::encode; use urlencoding::encode;
@ -110,7 +109,6 @@ pub fn derive_http_get_request(input: TokenStream) -> TokenStream {
impl Queryable for #name { impl Queryable for #name {
fn send( fn send(
&self, &self,
_base_url: &str, // not used
headers: Option<Vec<(&str, &str)>>, headers: Option<Vec<(&str, &str)>>,
) -> Result<Response, std::io::Error> { ) -> Result<Response, std::io::Error> {
match self { match self {