Revert "fix: temporarily (?) disable auth on /raw endpoint"
ci/woodpecker/push/woodpecker Pipeline failed Details

This reverts commit 750bca9ee0.
feat/plugins-backend
Tomáš Mládek 2024-04-08 21:34:27 +02:00
parent 069c86855b
commit a30ef465a3
1 changed files with 1 additions and 1 deletions

View File

@ -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)?)