Skip to content

Commit 65138f4

Browse files
committed
fix client http arg order
1 parent eabe8f4 commit 65138f4

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

fe/src/indexsupply.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ impl Client {
4040
let resp = self
4141
.http_client
4242
.post("https://api.indexsupply.net/query")
43-
.query(&[(
44-
"chain",
45-
chain.to_string(),
46-
"api-key",
47-
"8d622273f07ea179e6d50177ef6ca94d",
48-
)])
43+
.query(&[
44+
("chain", chain.to_string()),
45+
("api-key", "8d622273f07ea179e6d50177ef6ca94d".to_string()),
46+
])
4947
.json(&vec![Request {
5048
event_signatures: signatures,
5149
query: query.to_string(),

0 commit comments

Comments
 (0)