Skip to content

Commit

Permalink
misc: small fix or general refactoring i did not bother commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Oct 31, 2023
1 parent 4c01402 commit 96d4aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/scylla/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Plugin for Scylla {
.build()
.await;

if let Ok(_) = session {
if session.is_ok() {
Ok(Some(Loot::from([
("username".to_owned(), creds.username.to_owned()),
("password".to_owned(), creds.password.to_owned()),
Expand Down

0 comments on commit 96d4aa4

Please sign in to comment.