Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 13af993

Browse files
Septiaslink2xt
authored andcommittedMay 21, 2024·
add to info
1 parent 14555de commit 13af993

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/context.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,6 @@ impl Context {
768768
.get_config(Config::ConfiguredTrashFolder)
769769
.await?
770770
.unwrap_or_else(|| "<unset>".to_string());
771-
772771
let mut res = get_info();
773772

774773
// insert values
@@ -950,6 +949,7 @@ impl Context {
950949
.await?
951950
.to_string(),
952951
);
952+
res.insert("enable_realtime", self.get_config_bool(Config::EnableRealtime).await?.to_string());
953953

954954
let elapsed = time_elapsed(&self.creation_time);
955955
res.insert("uptime", duration_to_str(elapsed));
@@ -1656,7 +1656,6 @@ mod tests {
16561656
"socks5_password",
16571657
"key_id",
16581658
"webxdc_integration",
1659-
"iroh_secret_key",
16601659
];
16611660
let t = TestContext::new().await;
16621661
let info = t.get_info().await.unwrap();

0 commit comments

Comments
 (0)
Please sign in to comment.