We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b5bdd commit 743ccbaCopy full SHA for 743ccba
examples/cli-support/src/fxa_creds.rs
@@ -52,7 +52,7 @@ fn create_fxa_creds(path: &str, cfg: FxaConfig, scopes: &[&str]) -> Result<Firef
52
}
53
54
fn handle_oauth_flow(path: &str, acct: &FirefoxAccount, scopes: &[&str]) -> Result<()> {
55
- let oauth_uri = acct.begin_oauth_flow(scopes, "fxa_creds", &["sync"])?;
+ let oauth_uri = acct.begin_oauth_flow(scopes, "fxa_creds", &["sync".to_string()])?;
56
57
if webbrowser::open(oauth_uri.as_ref()).is_err() {
58
log::warn!("Failed to open a web browser D:");
0 commit comments