Skip to content

Commit

Permalink
Actually fixed query macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Threated committed Jun 25, 2022
1 parent f798346 commit 8700b83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ macro_rules! query {
$(
read_only = $ro;
)?
$crate::types::GraphQuery {
$crate::GraphQuery {
query: $s, read_only, params: vec![]
}
}};
Expand All @@ -67,9 +67,9 @@ macro_rules! query {
$(
read_only = $ro;
)?
$crate::types::GraphQuery {
$crate::GraphQuery {
query: $s, read_only, params: vec![$(
($k, $crate::types::Parameter::from($v)),
($k, $crate::Parameter::from($v)),
)*]
}
}}
Expand Down

0 comments on commit 8700b83

Please sign in to comment.