mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +03:00
fix context::tests::test_get_info_completeness
This commit is contained in:
@@ -749,6 +749,11 @@ impl Context {
|
||||
.unwrap_or_default(),
|
||||
);
|
||||
|
||||
res.insert(
|
||||
"debug_logging",
|
||||
self.get_config_int(Config::DebugLogging).await?.to_string(),
|
||||
);
|
||||
|
||||
let elapsed = self.creation_time.elapsed();
|
||||
res.insert("uptime", duration_to_str(elapsed.unwrap_or_default()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user