From a30ef465a355b5cd16313a67a8df2a7ba2a2d499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Mon, 8 Apr 2024 21:34:27 +0200 Subject: [PATCH] Revert "fix: temporarily (?) disable auth on /raw endpoint" This reverts commit 750bca9ee0abefb89fdc787d5b4d7480eec50bd6. --- cli/src/routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/routes.rs b/cli/src/routes.rs index 31aac8f..f519033 100644 --- a/cli/src/routes.rs +++ b/cli/src/routes.rs @@ -211,7 +211,7 @@ pub async fn get_raw( web::Query(query): web::Query, hash: web::Path, ) -> Result { - // check_auth(&req, &state)?; + check_auth(&req, &state)?; let address = Address::decode(&b58_decode(hash.into_inner()).map_err(ErrorInternalServerError)?)