pub async fn delete_user_wrapper( json_creds: Json<Credentials>, pool: Data<Pool<Postgres>>, ) -> impl Responder
Wrapper for delete_user
delete_user