fix: remove unused imports

This commit is contained in:
Radical 2025-05-07 21:22:38 +02:00
parent 3e64a49338
commit 9e56eec021
3 changed files with 3 additions and 5 deletions

View file

@ -1,7 +1,7 @@
use actix_web::{cookie::{time::Duration, Cookie, SameSite}, http::header::HeaderMap, HttpResponse};
use getrandom::fill;
use hex::encode;
use redis::{AsyncCommands, RedisError};
use redis::RedisError;
use serde::Serialize;
use serde_json::json;
@ -57,7 +57,7 @@ impl Data {
let key_encoded = encode(key);
let value_json = json!(value).to_string();
let value_json = json!(value).as_str().unwrap().to_string();
redis::cmd("SET",).arg(&[key_encoded.clone(), value_json]).exec_async(&mut conn).await?;