jsonvalue-fix

This commit is contained in:
2023-10-16 19:40:45 +03:00
parent c9650772bc
commit a84bf61e4e
3 changed files with 6 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ use actix_web::{web, web::Bytes, App, HttpRequest, HttpResponse, HttpServer};
use futures::StreamExt;
use redis::{AsyncCommands, Client};
use serde::{Deserialize, Serialize};
use serde_json::Value;
use std::collections::HashMap;
use std::env;
use std::sync::{Arc, Mutex};
@@ -19,7 +20,7 @@ struct AppState {
#[derive(Serialize, Deserialize)]
struct RedisMessageData {
payload: HashMap<String, String>,
payload: HashMap<String, Value>,
kind: String,
}