From 750bca9ee0abefb89fdc787d5b4d7480eec50bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Thu, 4 Apr 2024 23:07:05 +0200 Subject: [PATCH] fix: temporarily (?) disable auth on /raw endpoint --- 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 c30ef88..b5e5172 100644 --- a/cli/src/routes.rs +++ b/cli/src/routes.rs @@ -201,7 +201,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)?)