From 0b26ae3bad5f5bcc822553b4ef5c6204e65e1ef7 Mon Sep 17 00:00:00 2001 From: yenicelik Date: Sun, 11 Jun 2023 18:59:27 +0200 Subject: [PATCH] made modify-subuser post --- web3_proxy/src/frontend/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/frontend/mod.rs b/web3_proxy/src/frontend/mod.rs index d5c3e9b5..734e83e2 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -159,7 +159,7 @@ pub async fn serve( .route( // /:rpc_key/:subuser_address/:new_status/:new_role "/user/subuser", - get(users::subuser::modify_subuser), + post(users::subuser::modify_subuser), ) .route("/user/subusers", get(users::subuser::get_subusers)) .route(