Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
satler-git authored Dec 16, 2024
1 parent 0842f9f commit a7055db
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions crates/etymora/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,14 @@ impl Etymora {
result: None,
error: res.left(),
},
Either::Right(_) => {
Response {
id,
result: res
.right()
.map(|result| serde_json::to_value(&Some(result)).ok())
.flatten(),
error: None,
}
}
Either::Right(_) => Response {
id,
result: res
.right()
.map(|result| serde_json::to_value(&Some(result)).ok())
.flatten(),
error: None,
},
};

self.connection
Expand Down

0 comments on commit a7055db

Please sign in to comment.