From e8e1a13d6d72d0ccdabbe788a58356e610680e60 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 18 Jun 2020 22:31:15 -0700 Subject: [PATCH] auth::wall_entry now uses &serde_json::Value's as a param --- server/src/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/auth.rs b/server/src/auth.rs index 85107c2..93a1080 100644 --- a/server/src/auth.rs +++ b/server/src/auth.rs @@ -30,7 +30,7 @@ fn open_route(path: &str) -> bool { return path == routes::INVITE_JOIN } -pub async fn wall_entry(path: &str, pool: &Pool, params: &HashMap<&str, &str>) -> Result { +pub async fn wall_entry(path: &str, pool: &Pool, params: &serde_json::Value) -> Result { // Start by Checking if the api key is in our keystore if open_route(path) { Ok(AuthReason::OpenAuth)