Skip to content

Commit

Permalink
SM-866: Variable naming refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonhurst committed Dec 4, 2023
1 parent 4721b75 commit 5e9714e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bws/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl State {
let decrypted_data: Result<String> =
encrypted_data.decrypt_with_key(&self.access_token.encryption_key);
match decrypted_data {
Ok(decrypted_data) => match serde_json::from_str(decrypted_data.as_str()) {
Ok(data) => match serde_json::from_str(data.as_str()) {
Ok(state) => Some(Ok(state)),
Err(e) => Some(Err(Error::Serde(e))),
},
Expand Down

0 comments on commit 5e9714e

Please sign in to comment.