Skip to content

Commit

Permalink
fix: Update config to add back sessions block
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Oct 19, 2024
1 parent e3f215e commit 1512a1c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/utils/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ pub struct Config {
/// Project Configuration
#[serde(default)]
pub agent: AgentConfig,

/// Sessions Configuration
#[serde(default)]
pub sessions: SessionsConfig,
}

impl Config {
Expand Down Expand Up @@ -155,6 +159,11 @@ impl Config {
)))
}
}

/// Get Sessions Configuration
pub fn sessions<'c>(&'c self) -> &'c SessionsConfig {
&self.sessions
}
}

/// Database Configuration
Expand Down

0 comments on commit 1512a1c

Please sign in to comment.