got rid of base url param
This commit is contained in:
@ -48,7 +48,6 @@ pub fn derive_http_get_request(input: TokenStream) -> TokenStream {
|
||||
impl Queryable for #name {
|
||||
fn send(
|
||||
&self,
|
||||
_base_url: &str, // not used
|
||||
headers: Option<Vec<(&str, &str)>>,
|
||||
) -> Result<Response, std::io::Error> {
|
||||
use urlencoding::encode;
|
||||
@ -110,7 +109,6 @@ pub fn derive_http_get_request(input: TokenStream) -> TokenStream {
|
||||
impl Queryable for #name {
|
||||
fn send(
|
||||
&self,
|
||||
_base_url: &str, // not used
|
||||
headers: Option<Vec<(&str, &str)>>,
|
||||
) -> Result<Response, std::io::Error> {
|
||||
match self {
|
||||
|
Reference in New Issue
Block a user