Skip to content

Commit

Permalink
misc rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Kutsenko committed Oct 26, 2022
1 parent e8bee41 commit 5ffa17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wavesexchange_apis/src/api_clients/rates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ impl HttpClient<RatesService> {
let body = dto::RatesRequest {
pairs: chunk_pairs.to_vec(),
};
let mut req: dto::RatesResponse = self
let mut resp: dto::RatesResponse = self
.create_req_handler(self.http_post("rates").json(&body), "rates::rates")
.execute()
.await?;

rates.append(&mut req.data);
rates.append(&mut resp.data);
}

Ok(dto::RatesResponse { data: rates })
Expand Down

0 comments on commit 5ffa17b

Please sign in to comment.