Skip to content

Commit

Permalink
Fix readme failing doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Nov 20, 2023
1 parent c81e932 commit 3ec5d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
let client = Mpesa::new(
env!("CLIENT_KEY"),
env!("CLIENT_SECRET"),
Environment::from_str("production")?, // or Environment::try_from("production")?
Environment::from_str("sandbox")?, // or Environment::try_from("sandbox")?
);

assert!(client.is_connected().await);
Expand Down

0 comments on commit 3ec5d3d

Please sign in to comment.