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 {
|
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 {
|
||||||
|
Reference in New Issue
Block a user