Revert "fix: temporarily (?) disable auth on /raw endpoint"
This reverts commit 750bca9ee0
.
This commit is contained in:
parent
172d6cdb37
commit
49420e53c2
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ pub async fn get_raw(
|
|||
web::Query(query): web::Query<RawRequest>,
|
||||
hash: web::Path<String>,
|
||||
) -> Result<impl Responder, Error> {
|
||||
// check_auth(&req, &state)?;
|
||||
check_auth(&req, &state)?;
|
||||
|
||||
let address =
|
||||
Address::decode(&b58_decode(hash.into_inner()).map_err(ErrorInternalServerError)?)
|
||||
|
|
Loading…
Reference in a new issue