From 9f362d3497ddb0e24168386ebb6d37afac834309 Mon Sep 17 00:00:00 2001 From: Fu Zi Xiang Date: Tue, 10 Oct 2023 18:20:54 +0800 Subject: [PATCH] fix: remove unneeded print statements --- admin_frontend/src/web_app.rs | 2 -- admin_frontend/templates/user_details.html | 16 +++------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/admin_frontend/src/web_app.rs b/admin_frontend/src/web_app.rs index 4189d79d..5809aaba 100644 --- a/admin_frontend/src/web_app.rs +++ b/admin_frontend/src/web_app.rs @@ -52,8 +52,6 @@ pub async fn admin_user_details_handler( access_token: WebAccessToken, Path(user_id): Path, ) -> Result, RenderError> { - println!("---------- user_id: {}", user_id); - // http://localhost:3000/admin/users/3c093675-c4e0-4329-bd92-c1e8345afdd2 let users = state .gotrue_client .admin_user_details(&access_token.0, &user_id) diff --git a/admin_frontend/templates/user_details.html b/admin_frontend/templates/user_details.html index 29841f1d..12644010 100644 --- a/admin_frontend/templates/user_details.html +++ b/admin_frontend/templates/user_details.html @@ -1,14 +1,6 @@ - + - - - - - User Detail - - - - +

User Detail

{{ user.email|escape }}

Phone: {{ user.phone|escape }}

@@ -18,8 +10,6 @@

Created At: {{ user.created_at|escape }}

Updated At: {{ user.updated_at|escape }}

- Back to User List - - +