Skip to content

Commit

Permalink
fix(service): avoid unnecessary error conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis committed Dec 12, 2023
1 parent 138a5e6 commit f7cdb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl IndexerServiceImpl for SubgraphService {
let body = response
.text()
.await
.map_err(|e| SubgraphServiceError::QueryForwardingError(reqwest::Error::from(e)))?;
.map_err(SubgraphServiceError::QueryForwardingError)?;

Ok((request, SubgraphServiceResponse::new(body, attestable)))
}
Expand Down

0 comments on commit f7cdb11

Please sign in to comment.