Skip to content

Commit

Permalink
Fixed query Macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Threated committed Jun 25, 2022
1 parent 9a3299f commit 078742a
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::types::GraphQuery {
query: $s, read_only, params: vec![]
}
}};
Expand All @@ -67,9 +67,9 @@ macro_rules! query {
$(
read_only = $ro;
)?
crate::types::GraphQuery {
$crate::types::GraphQuery {
query: $s, read_only, params: vec![$(
($k, crate::types::Parameter::from($v)),
($k, $crate::types::Parameter::from($v)),
)*]
}
}}
Expand Down

0 comments on commit 078742a

Please sign in to comment.