fix(redis_interface): add missing #[serde(default)] annotation to RedisSettings (#409)

This commit is contained in:
Sanchith Hegde
2023-01-18 18:51:07 +05:30
committed by GitHub
parent 10fe3a0930
commit f4072d390d

View File

@ -9,6 +9,7 @@ use error_stack::IntoReport;
use crate::errors;
#[derive(Debug, serde::Deserialize, Clone)]
#[serde(default)]
pub struct RedisSettings {
pub host: String,
pub port: u16,