From 3596d6af6a790e1db05813fe0145a71bc39d0115 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Tue, 26 Dec 2023 03:56:28 +0000 Subject: [PATCH] chore: remove deprecated calls --- databases/redis/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databases/redis/src/main.rs b/databases/redis/src/main.rs index 2fd3ac0..8b94993 100644 --- a/databases/redis/src/main.rs +++ b/databases/redis/src/main.rs @@ -15,7 +15,7 @@ async fn cache_stuff( redis: web::Data, ) -> actix_web::Result { let mut conn = redis - .get_tokio_connection_manager() + .get_connection_manager() .await .map_err(error::ErrorInternalServerError)?; @@ -38,7 +38,7 @@ async fn cache_stuff( async fn del_stuff(redis: web::Data) -> actix_web::Result { let mut conn = redis - .get_tokio_connection_manager() + .get_connection_manager() .await .map_err(error::ErrorInternalServerError)?;