Revert "fix: temporarily (?) disable auth on /raw endpoint"

This reverts commit 750bca9ee0.
This commit is contained in:
Tomáš Mládek 2024-04-08 21:34:27 +02:00
parent 172d6cdb37
commit 49420e53c2

View file

@ -211,7 +211,7 @@ pub async fn get_raw(
web::Query(query): web::Query<RawRequest>, web::Query(query): web::Query<RawRequest>,
hash: web::Path<String>, hash: web::Path<String>,
) -> Result<impl Responder, Error> { ) -> Result<impl Responder, Error> {
// check_auth(&req, &state)?; check_auth(&req, &state)?;
let address = let address =
Address::decode(&b58_decode(hash.into_inner()).map_err(ErrorInternalServerError)?) Address::decode(&b58_decode(hash.into_inner()).map_err(ErrorInternalServerError)?)