Skip to content

Commit 559703d

Browse files
committed
fix(gl): only report registered: false on 404 in whoami (#220)
1 parent 19bc120 commit 559703d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/gl/src/whoami.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub async fn run(args: WhoamiArgs) -> Result<()> {
4242
if let Some(caps) = info["capabilities"].as_array() {
4343
capabilities = caps
4444
.iter()
45-
.filter_map(|c| c.as_str().map(String::from))
45+
.filter_map(|c| c.as_str().map(sanitize_node_msg))
4646
.collect();
4747
}
4848
// Try to get repo count

0 commit comments

Comments
 (0)