This commit is contained in:
Jonas Rabenstein 2026-02-27 03:34:25 +01:00
commit d972547059
2 changed files with 13 additions and 4 deletions

View file

@ -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)
}
}
};