Standardize Session Name Attribute (#5085)

This commit is contained in:
Will Pfleger
2025-10-17 17:05:41 -04:00
committed by GitHub
parent 2df2f783c9
commit b8c3508178
29 changed files with 1193 additions and 237 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ async fn get_session_id(identifier: Identifier) -> Result<String> {
sessions
.into_iter()
.find(|s| s.id == name || s.description.contains(&name))
.find(|s| s.name == name || s.id == name)
.map(|s| s.id)
.ok_or_else(|| anyhow::anyhow!("No session found with name '{}'", name))
} else if let Some(path) = identifier.path {