From fb5c9c877078dce088938f9b60fb702b46d09989 Mon Sep 17 00:00:00 2001 From: yenicelik Date: Mon, 27 Feb 2023 10:56:06 +0100 Subject: [PATCH] typo login should have been logout --- 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 3c209fae..1d9f5981 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -175,7 +175,7 @@ pub async fn serve(port: u16, proxy_app: Arc) -> anyhow::Result<() get(admin::admin_login_get), ) .route("/admin/imitate-login", post(admin::admin_login_post)) - .route("/admin/imitate-logout", post(admin::admin_login_post)) + .route("/admin/imitate-logout", post(admin::admin_logout_post)) // // Axum layers // layers are ordered bottom up