Revert "fix: temporarily (?) disable auth on /raw endpoint"
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This reverts commit 750bca9ee0
.
feat/plugins-backend
parent
069c86855b
commit
a30ef465a3
|
@ -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 New Issue