wip
This commit is contained in:
parent
a0d3c6cf9c
commit
d972547059
2 changed files with 13 additions and 4 deletions
|
|
@ -1,4 +1,3 @@
|
|||
/// GET macro
|
||||
#[macro_export]
|
||||
macro_rules! get {
|
||||
// Case 1: no query
|
||||
|
|
@ -84,8 +83,8 @@ macro_rules! get {
|
|||
}
|
||||
|
||||
async move {
|
||||
let result = client.get_with::<_, RP>(&query.as_pairs(), ( $( $arg ),* )).await?;
|
||||
Ok(result.0)
|
||||
let result = client.get_with::<_, RP>(( $( $arg ),* ), &query.as_pairs()).await?;
|
||||
Ok(result.into_inner().0)
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue