jsonvalue-fix
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user